2002-04-03 01:48:28 +02:00
|
|
|
--- ../sal/osl/unx/pipe.c.orig Mon Feb 18 13:48:55 2002
|
|
|
|
+++ ../sal/osl/unx/pipe.c Wed Apr 3 00:59:15 2002
|
2002-03-04 22:46:59 +01:00
|
|
|
@@ -264,7 +264,11 @@
|
|
|
|
|
|
|
|
addr.sun_family = AF_UNIX;
|
2002-04-03 01:48:28 +02:00
|
|
|
strncpy(addr.sun_path, name, sizeof(addr.sun_path));
|
2002-03-04 22:46:59 +01:00
|
|
|
+#if defined(FREEBSD)
|
2002-04-03 01:48:28 +02:00
|
|
|
+ len = SUN_LEN(&addr);
|
2002-03-04 22:46:59 +01:00
|
|
|
+#else
|
2002-04-03 01:48:28 +02:00
|
|
|
len = sizeof(addr);
|
2002-03-04 22:46:59 +01:00
|
|
|
+#endif
|
|
|
|
|
|
|
|
if ( Options & osl_Pipe_CREATE )
|
|
|
|
{
|