diff options
-rw-r--r-- | Build/source/texk/web2c/ChangeLog | 7 | ||||
-rw-r--r-- | Build/source/texk/web2c/config.h | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/web2c/fixwrites.c | 2 |
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); |