summaryrefslogtreecommitdiffstats
path: root/editors/openoffice-devel/files/patch-sal+osl+unx+pipe.c
blob: 4aa7b8af1a6173c58fc560e0e6b31828a0f1ee14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ../sal/osl/unx/pipe.c.orig	Thu Jul 11 16:01:39 2002
+++ ../sal/osl/unx/pipe.c	Fri Oct 18 19:56:38 2002
@@ -264,7 +264,11 @@
     
 	addr.sun_family = AF_UNIX;
 	strncpy(addr.sun_path, name, sizeof(addr.sun_path));
+#if defined(FREEBSD)
+	len = SUN_LEN(&addr);
+#else
 	len = sizeof(addr);
+#endif
 
 	if ( Options & osl_Pipe_CREATE )
 	{			
OpenPOWER on IntegriCloud