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