diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-10-22 23:14:19 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-10-22 23:14:19 +0000 |
commit | 1257bb9946065e859e78fa0d109ff06b2b264785 (patch) | |
tree | ecc545b688be6a2a84fc6ce8e048b65596551264 /editors/openoffice-3-devel | |
parent | NetBSD, IRIX and FreeBSD support got removed. Add it again. (diff) |
Use SUN_LEN makro for unix domain socket name lenght.
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r-- | editors/openoffice-3-devel/files/patch-sal+osl+unx+pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice-3-devel/files/patch-sal+osl+unx+pipe.c b/editors/openoffice-3-devel/files/patch-sal+osl+unx+pipe.c index 217bd0be4d58..4aa7b8af1a61 100644 --- a/editors/openoffice-3-devel/files/patch-sal+osl+unx+pipe.c +++ b/editors/openoffice-3-devel/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 |