[svn] assuan - r206 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Tue Sep 19 12:34:16 CEST 2006
Author: marcus
Date: 2006-09-19 12:34:16 +0200 (Tue, 19 Sep 2006)
New Revision: 206
Modified:
trunk/src/ChangeLog
trunk/src/assuan-pipe-connect.c
trunk/src/assuan-socket.c
Log:
2006-09-19 Marcus Brinkmann <marcus at g10code.de>
* assuan-pipe-connect.c: Add hacks for Slowaris.
* assuan-socket.c: Likewise here.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2006-09-19 10:31:31 UTC (rev 205)
+++ trunk/src/ChangeLog 2006-09-19 10:34:16 UTC (rev 206)
@@ -1,5 +1,8 @@
2006-09-19 Marcus Brinkmann <marcus at g10code.de>
+ * assuan-pipe-connect.c: Add hacks for Slowaris.
+ * assuan-socket.c: Likewise here.
+
* assuan.h (enum): Avoid trailing comma in enumerator list. Ugh.
* mkerrors (_assuan_error): Change return type to assuan_error_t.
Modified: trunk/src/assuan-pipe-connect.c
===================================================================
--- trunk/src/assuan-pipe-connect.c 2006-09-19 10:31:31 UTC (rev 205)
+++ trunk/src/assuan-pipe-connect.c 2006-09-19 10:34:16 UTC (rev 206)
@@ -39,6 +39,18 @@
#include "assuan-defs.h"
+/* Hacks for Slowaris. */
+#ifndef PF_LOCAL
+# ifdef PF_UNIX
+# define PF_LOCAL PF_UNIX
+# else
+# define PF_LOCAL AF_UNIX
+# endif
+#endif
+#ifndef AF_LOCAL
+# define AF_LOCAL AF_UNIX
+#endif
+
#ifdef _POSIX_OPEN_MAX
#define MAX_OPEN_FDS _POSIX_OPEN_MAX
#else
Modified: trunk/src/assuan-socket.c
===================================================================
--- trunk/src/assuan-socket.c 2006-09-19 10:31:31 UTC (rev 205)
+++ trunk/src/assuan-socket.c 2006-09-19 10:34:16 UTC (rev 206)
@@ -30,6 +30,18 @@
#endif
#include "assuan-defs.h"
+/* Hacks for Slowaris. */
+#ifndef PF_LOCAL
+# ifdef PF_UNIX
+# define PF_LOCAL PF_UNIX
+# else
+# define PF_LOCAL AF_UNIX
+# endif
+#endif
+#ifndef AF_LOCAL
+# define AF_LOCAL AF_UNIX
+#endif
+
int
_assuan_close (int fd)
{
More information about the Gnupg-commits
mailing list