aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-3-RC/files/patch-sal::osl::unx::pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-3-RC/files/patch-sal::osl::unx::pipe.c')
-rw-r--r--editors/openoffice.org-3-RC/files/patch-sal::osl::unx::pipe.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/openoffice.org-3-RC/files/patch-sal::osl::unx::pipe.c b/editors/openoffice.org-3-RC/files/patch-sal::osl::unx::pipe.c
new file mode 100644
index 000000000000..6802487470a2
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-sal::osl::unx::pipe.c
@@ -0,0 +1,14 @@
+--- ../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(FREEBSD)
++ len = SUN_LEN(&addr);
++#else
+ len = sizeof(addr.sun_family) + strlen(addr.sun_path);
++#endif
+
+ if ( Options & osl_Pipe_CREATE )
+ {