From a829bc12f68e70fa4ca676e9e530a824d15f3797 Mon Sep 17 00:00:00 2001 From: mbr Date: Tue, 22 Oct 2002 23:14:19 +0000 Subject: Use SUN_LEN makro for unix domain socket name lenght. --- editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editors/openoffice.org-2-RC') diff --git a/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c b/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c index 217bd0be4d5..4aa7b8af1a6 100644 --- a/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c +++ b/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+pipe.c @@ -1,11 +1,11 @@ ---- ../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 +--- ../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); ++ len = SUN_LEN(&addr); +#else len = sizeof(addr); +#endif -- cgit