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