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


Charles Wilson wrote:
> I'm testing a patch now; will post later.

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

	* cygwin.din: Export __xdr functions.
	* include/cygwin/version.h: Bump version.
	* posix.sgml: Add a few more XDR functions to list
	of implemented Solaris functions.

With this, I can build libtirpc -- and then build a working RPC
client/server (*).

(*) Okay, I only tested the client on cygwin, talking to a server on
linux; to go the other way I also have to port rpcbind...and figure out
how to get it to run as a service, etc etc etc...

--
Chuck

Index: cygwin.din
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/cygwin.din,v
retrieving revision 1.221
diff -u -p -r1.221 cygwin.din
--- cygwin.din	3 Mar 2010 15:05:18 -0000	1.221
+++ cygwin.din	4 Mar 2010 07:41:08 -0000
@@ -1861,6 +1861,8 @@ xdrrec_create SIGFE
 xdrrec_endofrecord SIGFE
 xdrrec_eof SIGFE
 xdrrec_skiprecord SIGFE
+__xdrrec_getrec SIGFE
+__xdrrec_setnonblock SIGFE
 xdrstdio_create SIGFE
 y0 NOSIGFE
 y0f NOSIGFE
Index: posix.sgml
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/posix.sgml,v
retrieving revision 1.44
diff -u -p -r1.44 posix.sgml
--- posix.sgml	3 Mar 2010 15:05:19 -0000	1.44
+++ posix.sgml	4 Mar 2010 07:41:08 -0000
@@ -1124,6 +1124,8 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008)
     xdrrec_endofrecord
     xdrrec_eof
     xdrrec_skiprecord
+    __xdrrec_getrec
+    __xdrrec_setnonblock
     xdrstdio_create
 </screen>
 
Index: include/cygwin/version.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/version.h,v
retrieving revision 1.311
diff -u -p -r1.311 version.h
--- include/cygwin/version.h	3 Mar 2010 15:05:19 -0000	1.311
+++ include/cygwin/version.h	4 Mar 2010 07:41:08 -0000
@@ -378,12 +378,13 @@ details. */
       222: CW_INT_SETLOCALE added.
       223: SIGPWR added.
       224: Export xdr* functions.
+      225: Export __xdr* functions.
      */
 
      /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
 
 #define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 224
+#define CYGWIN_VERSION_API_MINOR 225
 
      /* There is also a compatibity version number associated with the
 	shared memory regions.  It is incremented when incompatible

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