This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add xdr support


Corinna Vinschen wrote:
> ...and I would *love* to apply the patches, but unfortunately there's a
> serious, VERY serious problem with this patch.
> 
> The patch is missing the related changes to cygwin/posix.sgml and
> doc/new-features.sgml.
> 
> Would you mind to send a second patch for the documentation?

Well, for new-features, no problem; attached.

However, the xdr functions are defined by neither SuSv4 nor POSIX,
AFAICT.  They are defined by (variously) RFCs 1014 [1], 1832 [2], and
4506 [3], SVID.4 [4], and LSB [5].  It is also described in the XNFS [6]
standard.

But it ain't posix, so...should it really go in posix.sgml?

[1] http://www.faqs.org/rfcs/rfc1014.html (06/1987)
[2] http://www.faqs.org/rfcs/rfc1832.html (08/1995)
[3] http://www.faqs.org/rfcs/rfc4506.html (05/2006)
[4] System V Interface Definition, Third Edition
	American Telephone and Telegraph Company, System V
	Interface Definition, Issue 3; Morristown, NJ, UNIX Press, 1989.
	(ISBN 0201566524)
[5] http://linuxtesting.org/results/lsb_specs/by_lsb (13.3.1. RPC)
[6] http://www.opengroup.org/onlinepubs/009629799/chap3.htm#tagcjh_04

I also got good use out of Appendix A of the ONC+ developer's guide:
http://docs.sun.com/app/docs/doc/816-1435

2010-03-02  Charles Wilson  <...>

        * new-features.sgml (ov-new1.7.2): Describe XDR support.


--
Chuck
Index: new-features.sgml
===================================================================
RCS file: /cvs/src/src/winsup/doc/new-features.sgml,v
retrieving revision 1.40
diff -u -p -r1.40 new-features.sgml
--- new-features.sgml	26 Feb 2010 17:54:24 -0000	1.40
+++ new-features.sgml	3 Mar 2010 04:32:28 -0000
@@ -140,6 +140,14 @@ In other words, use the /cygdrive mount 
 Recognize NWFS filesystem and workaround broken OS call.
 </para></listitem>
 
+<listitem><para>
+New support for eXtensible Data Record (XDR) encoding and decoding,
+as defined by RFCs 1014, 1832, and 4506.  The XDR protocol and
+functions are useful for cross-platfrom data exchange, and are
+commonly used as the core data interchange format for Remote
+Procedure Call (RPC) and NFS.
+</para></listitem>
+
 </itemizedlist>
 
 </sect2>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]