1 2008-09-28 Juan Manuel Guerrero <juan.guerrero@gmx.de>
3 * glob.c (my_realloc) [__DJGPP__]: Don't define, and don't
4 redefine realloc to call it, since the DJGPP's realloc handles
5 NULL pointers correctly.
7 2007-12-22 Juan Manuel Guerrero <juan.guerrero@gmx.de> (tiny change)
9 * glob.c [__GNU_LIBRARY__ && __DJGPP__]: Add a realloc
10 declaration that matches the one in the DJGPP libc.
12 2006-02-24 Eli Zaretskii <eliz@gnu.org>
14 * glob.c (my_malloc) [WINDOWS32]: Provide a full ISO C prototype,
15 to avoid compiler warnings.
17 2005-06-25 Paul D. Smith <psmith@gnu.org>
19 * fnmatch.h, glob.h [WINDOWS32]: Fix ifdefs in headers.
20 Fixes Savannah bug #13477.
22 2005-03-11 Paul D. Smith <psmith@gnu.org>
24 * glob.c (glob_in_dir): Change FNM_CASEFOLD to be enabled if
25 HAVE_CASE_INSENSITIVE_FS is defined.
27 2003-01-30 Paul D. Smith <psmith@gnu.org>
29 * glob.h: Patch for FreeBSD by Mike Barcroft <mike@freebsd.org>
30 Reported by Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>. On
31 FreeBSD, declare __size_t to simply size_t.
33 2002-04-22 Paul D. Smith <psmith@gnu.org>
35 * Makefile.am: Use automake 1.6.
36 Use new automake condition USE_LOCAL_GLOB to decide whether or not
37 to build the local GNU glob library or use the system one.
39 1999-09-12 Paul D. Smith <psmith@gnu.org>
41 * fnmatch.c: Last GLIBC version wouldn't compile outside of GLIBC
42 (undefined reference to internal_function). Update to the latest
45 1999-09-11 Paul Eggert <eggert@twinsun.com>
47 * glob.h (glob): If #defining to glob64, do this before
48 declaring it, so that all declarations and uses match, and
49 do not declare glob64, to avoid a declaration clash.
50 (globfree): Likewise with globfree64.
52 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
54 * glob.c (prefix_array) [__MSDOS__,WINDOWS32]: Keep the trailing
55 slash unless DIRNAME is just "x:/".
57 1999-09-06 Paul D. Smith <psmith@gnu.org>
59 * fnmatch.c: Update to latest version from GLIBC.
61 1999-07-21 Paul D. Smith <psmith@gnu.org>
63 * glob.c, glob.h, fnmatch.c, fnmatch.h: Update to latest version
66 * fnmatch.c (internal_fnmatch): Use K&R definition syntax, not ANSI.
67 (__strchrnul): This won't exist outside GLIBC, so create one.
69 * glob.c: Move getlogin{,_r} prototypes below glob.h to get __P()
72 1998-08-05 Paul D. Smith <psmith@gnu.org>
74 * configure.in: Remove; configuration for glob is handled by the
77 1998-07-29 Paul D. Smith <psmith@gnu.org>
79 * glob.c, fnmatch.c: New versions from the GLIBC folks (Ulrich
80 Drepper). Fixes a bug reported by Eli Zaretski. Integrates
81 DOS/Windows32 support.
83 1998-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
85 * glob.c (glob): Cast away const on assignment of pattern to dirname.
86 Cast the return type of __alloca() for traditional C compilers.
88 1998-07-23 Paul D. Smith <psmith@gnu.org>
90 * glob.c, fnmatch.c: New versions of these files from the GLIBC
91 folks (Ulrich Drepper). Had to re-integrate some DOS/Windows
94 1998-07-10 Paul D. Smith <psmith@gnu.org>
96 * glob.c (glob_in_dir): If no meta chars exist in PATTERN and
97 GLOB_NOCHECK is present, don't look for the file--whether it's
98 found or not, we'll always return it, so why bother searching?
100 Also, if we are searching and there are no meta chars, don't
101 bother trying fnmatch() if the strcmp() fails.
103 1998-05-30 Eli Zaretskii <eliz@is.elta.co.il>
105 * glob.c (glob) [__MSDOS__, WINDOWS32]: Compute the directory and
106 filename parts of the pattern correctly when it includes a drive
107 spec. Disallow wildcards in the drive spec. Prevent recursion
108 when dirname is of the form "d:/" or "d:".
109 (prefix_array) [__MSDOS__, WINDOWS32]: Don't append a slash to
112 1998-05-13 Paul D. Smith <psmith@gnu.org>
114 * SMakefile, Makefile.ami, glob.c, glob.h, fnmatch.c: Updated from
115 the latest glibc version.
117 1998-04-17 Paul D. Smith <psmith@gnu.org>
119 * configure.in: Create a config.h file instead of setting things
120 on the compile line. This is because when build.sh runs it merely
121 passes -DHAVE_CONFIG_H to the glob files, just as it does to the
123 * config.h.in: Created by autoheader.
125 Tue Aug 12 10:52:34 1997 Paul D. Smith <psmith@baynetworks.com>
127 * configure.in: Require autoconf 2.12.
129 * glob: Updates from latest GNU libc glob code.
131 * glob.c,glob.h,fnmatch.h: Change all WIN32 references to WINDOWS32.
133 * glob.h: OSF4 defines macros in such a way that GLOB_ALTDIRFUNC
134 is not defined. Added a test to the #if which defines it if
135 _GNU_SOURCE is defined; that's set by both glob.c and GNU make.
137 * glob.c: SunOS4 w/ cc needs #include <stdio.h>, since assert.h
138 requires stderr but doesn't include stdio.h :-/.
139 (next_brace_sub): De-protoize function definition.
140 (glob): Cast __alloca(); on SunOS4 it uses the default return type
142 (glob): Irix defines getlogin_r() to return a char*; move the
143 extern for that into the _LIBC area since it isn't used except in
144 LIBC anyway. Likewise, move extern getlogin() into the "else".
146 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
148 Win32 hacks from <Rob_Tulloh@tivoli.com>.
149 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
150 use void * for my_realloc; include <malloc.h> for alloca.
151 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
152 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
153 * posix/glob.h: Likewise.
155 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
157 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
158 for `struct stat;' forward decl.
160 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
162 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
164 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
166 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
167 only for ?s, not for *s. Fix from Chet Ramey.
170 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
171 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software
173 This file is part of GNU Make.
175 GNU Make is free software; you can redistribute it and/or modify it under the
176 terms of the GNU General Public License as published by the Free Software
177 Foundation; either version 3 of the License, or (at your option) any later
180 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
181 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
182 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
184 You should have received a copy of the GNU General Public License along with
185 this program. If not, see <http://www.gnu.org/licenses/>.