Fix hash.h typos (only noticed when using Windows).
Update .cvsignore files.
*.gz *.Z *.tar *.tgz
=*
-TODO COPYING*
+TODO COPYING* ABOUT-NLS
make-3* make-test*
*.info *.info-*
stamp-*
*.cp *.cps *.fn *.fns *.vr *.vrs *.tp *.tps *.ky *.kys *.pg *.pgs
README README.DOS README.W32
-aclocal.m4 config.h.in config.h config.status config.cache configure
+aclocal.m4 autom4te.cache
+config.h.in config.h config.status config.cache configure
Makefile.in Makefile
build.sh.in build.sh
SMakefile NMakefile Makefile.DOS
+2002-09-11 Paul D. Smith <psmith@gnu.org>
+
+ * hash.h (STRING_COMPARE, ISTRING_COMPARE, STRING_N_COMPARE): Fix
+ macro to use RESULT instead of the incorrect _RESULT_.
+
+ * make.h (HAVE_BROKEN_RESTART): Add prototypes for atomic_stat()
+ and atomic_readdir(). We need to #include dirent.h to get this to
+ work.
+ * misc.c (atomic_readdir): Fix typos.
+
2002-09-10 Paul D. Smith <psmith@gnu.org>
* read.c (eval): Expand variable lists given to export and
--- /dev/null
+*.m4
+config.*
+
+Makefile Makefile.in
--- /dev/null
+Makefile Makefile.in
+fdl.texi make-stds.texi texinfo.tex
+make.info*
+make*.html
+make.aux make.cp make.cps make.fn make.fns make.ky
+make.pg make.toc make.tp make.vr make.log
+make.dvi make.ps make.pdf
-.deps Makefile.in
+Makefile Makefile.in
+.deps
} while (0)
#define STRING_COMPARE(X, Y, RESULT) do { \
- _RESULT_ = strcmp ((X), (Y)); \
+ RESULT = strcmp ((X), (Y)); \
} while (0)
#define return_STRING_COMPARE(X, Y) do { \
return strcmp ((X), (Y)); \
} while (0)
#define STRING_N_COMPARE(X, Y, N, RESULT) do { \
- _RESULT_ = strncmp ((X), (Y), (N)); \
+ RESULT = strncmp ((X), (Y), (N)); \
} while (0)
#define return_STRING_N_COMPARE(X, Y, N) do { \
return strncmp ((X), (Y), (N)); \
} while (0)
#define ISTRING_COMPARE(X, Y, RESULT) do { \
- _RESULT_ = strcmpi ((X), (Y)); \
+ RESULT = strcmpi ((X), (Y)); \
} while (0)
#define return_ISTRING_COMPARE(X, Y) do { \
return strcmpi ((X), (Y)); \
#ifdef HAVE_BROKEN_RESTART
+/* Here we make an assumption that a system with a broken SA_RESTART has
+ dirent.h. Right now the only system I know of in this category is PTX, and
+ it does have dirent.h.
+*/
+#include <dirent.h>
+
#define stat(_f,_b) atomic_stat ((_f), (_b))
#define readdir(_d) atomic_readdir (_d)
+extern int atomic_stat PARAMS ((const char *file, struct stat *buf));
+extern struct dirent *atomic_readdir PARAMS ((DIR *dir));
+
#endif
struct dirent *
atomic_readdir(dir)
- DIR *file;
+ DIR *dir;
{
struct dirent *r;
- while ((r = readdir (file, buf)) == NULL)
+ while ((r = readdir (dir)) == NULL)
if (errno != EINTR)
break;
*.gmo *.mo *.pot *.po
-Makefile.in Makefile
+Makefile Makefile.in Makefile.in.in
+Rules-quot
+*.sed *.sin *.header
POTFILES