From 6d8d9b74d9c50cb07fe952ac0929f618e4280a55 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 10 Mar 2006 02:20:45 +0000 Subject: Numerous updates to tests for issues found on Cygwin and Windows. Revert a fix for $? including non-existent files as it shows a bug in the Linux kernel build. Give them a release to fix this. Add some changes from Eli Z. for Windows changes. --- glob/ChangeLog | 5 +++++ glob/glob.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'glob') diff --git a/glob/ChangeLog b/glob/ChangeLog index 570c19c..68727be 100644 --- a/glob/ChangeLog +++ b/glob/ChangeLog @@ -1,3 +1,8 @@ +2006-02-24 Eli Zaretskii + + * glob.c (my_malloc) [WINDOWS32]: Provide a full ISO C prototype, + to avoid compiler warnings. + 2005-06-25 Paul D. Smith * fnmatch.h, glob.h [WINDOWS32]: Fix ifdefs in headers. diff --git a/glob/glob.c b/glob/glob.c index 8deb273..a5e6a19 100644 --- a/glob/glob.c +++ b/glob/glob.c @@ -188,12 +188,13 @@ __inline # ifndef __SASC # ifdef WINDOWS32 static void * +my_realloc (void *p, unsigned int n) # else static char * -# endif my_realloc (p, n) char *p; unsigned int n; +# endif { /* These casts are the for sake of the broken Ultrix compiler, which warns of illegal pointer combinations otherwise. */ -- cgit v1.2.3