summaryrefslogtreecommitdiff
path: root/misc/openoffice/patches/patch-bk
blob: e57b53fa094a680c8d8b2471444c94854a7b5888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-bk,v 1.1.1.1 2002/02/13 18:09:22 mrauch Exp $

--- ../sal/osl/unx/pipe.c.orig	Tue May 29 07:38:32 2001
+++ ../sal/osl/unx/pipe.c
@@ -264,7 +264,11 @@
     
 	addr.sun_family = AF_UNIX;
 	strcpy(addr.sun_path, name);
+#if defined(NETBSD)
+        len = sizeof(addr);
+#else
 	len = sizeof(addr.sun_family) + strlen(addr.sun_path);
+#endif
 
 	if ( Options & osl_Pipe_CREATE )
 	{