From 800dddd27cab4c08c919df62e0a9e95ddc269ed8 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Sun, 13 Apr 2003 22:48:30 +0000 Subject: Fix breakage in these patches. I just copied them from the openoffice-devel port but some parts in the context seem to have changed. --- .../files/patch-codemaker+source+codemaker+global.cxx | 8 ++++---- editors/openoffice-1.0/files/patch-registry+source+registry.cxx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'editors/openoffice-1.0') diff --git a/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx b/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx index 057d4ec4d670..a1a86242db9b 100644 --- a/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx +++ b/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx @@ -1,9 +1,9 @@ --- ../codemaker/source/codemaker/global.cxx.orig Fri Apr 4 00:14:50 2003 +++ ../codemaker/source/codemaker/global.cxx Fri Apr 4 00:14:53 2003 -@@ -164,11 +164,7 @@ - strncat(tmpPattern, "/", sizeof(tmpPattern)-1-strlen(tmpPattern)); - strncat(tmpPattern, pPrefix, sizeof(tmpPattern)-1-strlen(tmpPattern)); - strncat(tmpPattern, "XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); +@@ -149,11 +149,7 @@ + strcat(tmpPattern, "\\"); + strcat(tmpPattern, pPrefix); + strcat(tmpPattern, "XXXXXX"); -#if defined(FREEBSD) || defined(MACOSX) - pTmpName = mkstemp(tmpPattern); -#else diff --git a/editors/openoffice-1.0/files/patch-registry+source+registry.cxx b/editors/openoffice-1.0/files/patch-registry+source+registry.cxx index 502abe41e48d..87c5cd17a614 100644 --- a/editors/openoffice-1.0/files/patch-registry+source+registry.cxx +++ b/editors/openoffice-1.0/files/patch-registry+source+registry.cxx @@ -1,9 +1,9 @@ --- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 +++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 -@@ -145,11 +145,7 @@ - + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); - strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); +@@ -134,11 +134,7 @@ + #ifdef UNX + strcat(tmpPattern, "/reg_XXXXXX"); -#if defined(FREEBSD) || defined(MACOSX) - pTmpName = mkstemp(tmpPattern); -#else -- cgit v1.2.3