1 1999-09-12 Paul D. Smith <psmith@gnu.org>
3 * fnmatch.c: Last GLIBC version wouldn't compile outside of GLIBC
4 (undefined reference to internal_function). Update to the latest
7 1999-09-11 Paul Eggert <eggert@twinsun.com>
9 * glob.h (glob): If #defining to glob64, do this before
10 declaring it, so that all declarations and uses match, and
11 do not declare glob64, to avoid a declaration clash.
12 (globfree): Likewise with globfree64.
14 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
16 * glob.c (prefix_array) [__MSDOS__,WINDOWS32]: Keep the trailing
17 slash unless DIRNAME is just "x:/".
19 1999-09-06 Paul D. Smith <psmith@gnu.org>
21 * fnmatch.c: Update to latest version from GLIBC.
23 1999-07-21 Paul D. Smith <psmith@gnu.org>
25 * glob.c, glob.h, fnmatch.c, fnmatch.h: Update to latest version
28 * fnmatch.c (internal_fnmatch): Use K&R definition syntax, not ANSI.
29 (__strchrnul): This won't exist outside GLIBC, so create one.
31 * glob.c: Move getlogin{,_r} prototypes below glob.h to get __P()
34 1998-08-05 Paul D. Smith <psmith@gnu.org>
36 * configure.in: Remove; configuration for glob is handled by the
39 1998-07-29 Paul D. Smith <psmith@gnu.org>
41 * glob.c, fnmatch.c: New versions from the GLIBC folks (Ulrich
42 Drepper). Fixes a bug reported by Eli Zaretski. Integrates
43 DOS/Windows32 support.
45 1998-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
47 * glob.c (glob): Cast away const on assignment of pattern to dirname.
48 Cast the return type of __alloca() for traditional C compilers.
50 1998-07-23 Paul D. Smith <psmith@gnu.org>
52 * glob.c, fnmatch.c: New versions of these files from the GLIBC
53 folks (Ulrich Drepper). Had to re-integrate some DOS/Windows
56 1998-07-10 Paul D. Smith <psmith@gnu.org>
58 * glob.c (glob_in_dir): If no meta chars exist in PATTERN and
59 GLOB_NOCHECK is present, don't look for the file--whether it's
60 found or not, we'll always return it, so why bother searching?
62 Also, if we are searching and there are no meta chars, don't
63 bother trying fnmatch() if the strcmp() fails.
65 1998-05-30 Eli Zaretskii <eliz@is.elta.co.il>
67 * glob.c (glob) [__MSDOS__, WINDOWS32]: Compute the directory and
68 filename parts of the pattern correctly when it includes a drive
69 spec. Disallow wildcards in the drive spec. Prevent recursion
70 when dirname is of the form "d:/" or "d:".
71 (prefix_array) [__MSDOS__, WINDOWS32]: Don't append a slash to
74 1998-05-13 Paul D. Smith <psmith@gnu.org>
76 * SMakefile, Makefile.ami, glob.c, glob.h, fnmatch.c: Updated from
77 the latest glibc version.
79 1998-04-17 Paul D. Smith <psmith@gnu.org>
81 * configure.in: Create a config.h file instead of setting things
82 on the compile line. This is because when build.sh runs it merely
83 passes -DHAVE_CONFIG_H to the glob files, just as it does to the
85 * config.h.in: Created by autoheader.
87 Tue Aug 12 10:52:34 1997 Paul D. Smith <psmith@baynetworks.com>
89 * configure.in: Require autoconf 2.12.
91 * glob: Updates from latest GNU libc glob code.
93 * glob.c,glob.h,fnmatch.h: Change all WIN32 references to WINDOWS32.
95 * glob.h: OSF4 defines macros in such a way that GLOB_ALTDIRFUNC
96 is not defined. Added a test to the #if which defines it if
97 _GNU_SOURCE is defined; that's set by both glob.c and GNU make.
99 * glob.c: SunOS4 w/ cc needs #include <stdio.h>, since assert.h
100 requires stderr but doesn't include stdio.h :-/.
101 (next_brace_sub): De-protoize function definition.
102 (glob): Cast __alloca(); on SunOS4 it uses the default return type
104 (glob): Irix defines getlogin_r() to return a char*; move the
105 extern for that into the _LIBC area since it isn't used except in
106 LIBC anyway. Likewise, move extern getlogin() into the "else".
108 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
110 Win32 hacks from <Rob_Tulloh@tivoli.com>.
111 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
112 use void * for my_realloc; include <malloc.h> for alloca.
113 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
114 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
115 * posix/glob.h: Likewise.
117 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
119 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
120 for `struct stat;' forward decl.
122 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
124 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
126 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
128 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
129 only for ?s, not for *s. Fix from Chet Ramey.