summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-30 00:25:32 +0000
committerKarl Berry <karl@freefriends.org>2009-06-30 00:25:32 +0000
commit020569e17eb68d02a19403a94113b88e8049fbc5 (patch)
treed7e76439039277297e08eb026e510f33f89350de /Build/source/texk/web2c
parentbcdef55875102900ae7616a89d60847ddd6f0d38 (diff)
include <c-auto.h>, avoid warning due to use of STREQ with an array
git-svn-id: svn://tug.org/texlive/trunk@14007 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r--Build/source/texk/web2c/ChangeLog7
-rw-r--r--Build/source/texk/web2c/config.h4
-rw-r--r--Build/source/texk/web2c/web2c/fixwrites.c2
3 files changed, 10 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index 44b129d7d16..a89083afeaa 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-30 Karl Berry <karl@tug.org>
+
+ * fixwrites.c: avoid annoying warning from use of STREQ with an array.
+
+ * config.h: #include <c-auto.h>, not <web2c/c-auto.h>.
+ -I.. is evidently not included somewhere along the line?
+
2009-06-23 Peter Breitenlohner <peb@mppmu.mpg.de>
* config.h: #include <stdarg.h>, not <kpathsea/c-vararg.h>.
diff --git a/Build/source/texk/web2c/config.h b/Build/source/texk/web2c/config.h
index 52e8bec92f4..03724101e80 100644
--- a/Build/source/texk/web2c/config.h
+++ b/Build/source/texk/web2c/config.h
@@ -1,6 +1,6 @@
/* config.h: All .c files include this first.
-Copyright (C) 1995, 1996, 2006, 2007 Karl Berry.
+Copyright 1995, 1996, 2006, 2007, 2009 Karl Berry.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@ along with this program; if not, see <http://www.gnu.org/licenses/. */
/* The stuff from the path searching library. */
#include <kpathsea/config.h>
-#include <web2c/c-auto.h>
+#include <c-auto.h>
#include <stdarg.h>
/* How to open a binary file. */
diff --git a/Build/source/texk/web2c/web2c/fixwrites.c b/Build/source/texk/web2c/web2c/fixwrites.c
index 66701aabdbf..10bc0fbc83e 100644
--- a/Build/source/texk/web2c/web2c/fixwrites.c
+++ b/Build/source/texk/web2c/web2c/fixwrites.c
@@ -440,7 +440,7 @@ main (int argc, string *argv)
*as = '\0';
printf ("putc (%s, %s);\n", argp, filename);
}
- else if (STREQ (args, "%s"))
+ else if (strcmp (args, "%s") == 0)
printf ("Fputs (%s, %s\n", filename, argp);
else
printf ("fprintf (%s, \"%s\", %s\n", filename, args, argp);