From a31c45a0b4b17f5d096eed1898c2707ee051cbfc Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Tue, 2 Apr 2002 23:48:28 +0000 Subject: Upgrade to build 641d. More work is necessary to make the build compile. There are still at least two different gcc bugs in our compiler, one issue has already been found by Alexander Kabaev . He's working on fixing the other. --- editors/openoffice-1.0/files/patch-sal+osl+unx+pipe.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'editors/openoffice-1.0/files/patch-sal+osl+unx+pipe.c') diff --git a/editors/openoffice-1.0/files/patch-sal+osl+unx+pipe.c b/editors/openoffice-1.0/files/patch-sal+osl+unx+pipe.c index 6802487470a2..217bd0be4d58 100644 --- a/editors/openoffice-1.0/files/patch-sal+osl+unx+pipe.c +++ b/editors/openoffice-1.0/files/patch-sal+osl+unx+pipe.c @@ -1,13 +1,13 @@ ---- ../sal/osl/unx/pipe.c.orig Tue May 29 07:38:32 2001 -+++ ../sal/osl/unx/pipe.c +--- ../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 @@ -264,7 +264,11 @@ addr.sun_family = AF_UNIX; - strcpy(addr.sun_path, name); + strncpy(addr.sun_path, name, sizeof(addr.sun_path)); +#if defined(FREEBSD) -+ len = SUN_LEN(&addr); ++ len = SUN_LEN(&addr); +#else - len = sizeof(addr.sun_family) + strlen(addr.sun_path); + len = sizeof(addr); +#endif if ( Options & osl_Pipe_CREATE ) -- cgit v1.2.3