summaryrefslogtreecommitdiffstats
path: root/test/openoffice/ooo_getline.diff
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-26 23:26:19 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-26 23:26:19 +0100
commit23568da3b83487cb6d012914045d5ba1c3bcadca (patch)
treea866decbdc5fa2059e117bfcde7e76dbe000bfe9 /test/openoffice/ooo_getline.diff
parent2c5d86a5486850f55abf5f0a9c2e4ad5f0aa41e3 (diff)
downloadnutyx-extra-23568da3b83487cb6d012914045d5ba1c3bcadca.tar.gz
nutyx-extra-23568da3b83487cb6d012914045d5ba1c3bcadca.tar.bz2
nutyx-extra-23568da3b83487cb6d012914045d5ba1c3bcadca.tar.xz
nutyx-extra-23568da3b83487cb6d012914045d5ba1c3bcadca.zip
openoffice dans test
Diffstat (limited to 'test/openoffice/ooo_getline.diff')
-rw-r--r--test/openoffice/ooo_getline.diff43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/openoffice/ooo_getline.diff b/test/openoffice/ooo_getline.diff
new file mode 100644
index 000000000..c9fac857c
--- /dev/null
+++ b/test/openoffice/ooo_getline.diff
@@ -0,0 +1,43 @@
+
+--- soltools/mkdepend/def.h.orig 2009-05-18 15:28:59.000000000 +0200
++++ soltools/mkdepend/def.h 2009-05-18 15:29:36.000000000 +0200
+@@ -154,7 +154,7 @@
+
+ char *copy();
+ char *base_name();
+-char *getline();
++char *ooo_getline();
+ char *isdefined();
+ struct filepointer *getfile();
+ struct inclist *newinclude();
+--- soltools/mkdepend/main.c.orig 2009-05-18 15:29:08.000000000 +0200
++++ soltools/mkdepend/main.c 2009-05-18 15:30:23.000000000 +0200
+@@ -548,7 +548,7 @@
+ * Get the next line. We only return lines beginning with '#' since that
+ * is all this program is ever interested in.
+ */
+-char *getline(filep)
++char *ooo_getline(filep)
+ register struct filepointer *filep;
+ {
+ register char *p, /* walking pointer */
+--- soltools/mkdepend/parse.c.orig 2009-05-18 15:29:17.000000000 +0200
++++ soltools/mkdepend/parse.c 2009-05-18 15:30:43.000000000 +0200
+@@ -45,7 +45,7 @@
+ register int type;
+ boolean recfailOK;
+
+- while ((line = getline(filep))) {
++ while ((line = ooo_getline(filep))) {
+ switch(type = deftype(line, filep, file_red, file, TRUE, symbols)) {
+ case IF:
+ doif:
+@@ -168,7 +168,7 @@
+ register char *line;
+ register int type;
+
+- while ((line = getline(filep))) {
++ while ((line = ooo_getline(filep))) {
+ switch(type = deftype(line, filep, file_red, file, FALSE, symbols)) {
+ case IF:
+ case IFFALSE: