summaryrefslogtreecommitdiff
path: root/lib/libc/gen/glob.c
Commit message (Expand)AuthorAgeFilesLines
* Clean up the vcs ID strings in libc's gen/ directory.John Baldwin2018-07-031-3/+1
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
* glob: Fix comment about collapsing asterisks after r317749.Jilles Tjoelker2017-05-071-1/+2
* glob: Fix an overlong lineConrad Meyer2017-05-031-1/+2
* libc glob: Avoid pathological exponential behaviorConrad Meyer2017-05-031-44/+56
* libc: provide some bounds-checking through reallocarray(3).Pedro F. Giffuni2017-03-121-4/+4
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Although the code amount is not big, move POSIX error processing intoAndrey A. Chernov2016-08-031-34/+38
* In addition to prev. commit. Since potentially glob2() can return errorAndrey A. Chernov2016-07-311-0/+2
* Both C99 and POSIX directly prohibits any standard function to set errnoAndrey A. Chernov2016-07-311-17/+25
* Rework r303074 case 4. Don't immediatelly skip directory entries whichAndrey A. Chernov2016-07-301-0/+7
* Reset errno for readdirfunc() before contunue.Andrey A. Chernov2016-07-301-1/+4
* 1) POSIX defines well when GLOB_NOMATCH or original patternAndrey A. Chernov2016-07-231-5/+7
* 1) We need the original pattern (in the next round of changes) not only inAndrey A. Chernov2016-07-231-80/+73
* 1) GLOB_BRACE was somewhat broken. First it repeatedly calls glob0() inAndrey A. Chernov2016-07-211-75/+101
* In addition to r303074 case 1, search for protected L'/' too in globtilde()Andrey A. Chernov2016-07-201-3/+2
* 1) Per POSIX (and glibc) GLOB_NOCHECK should return original pattern,Andrey A. Chernov2016-07-201-55/+86
* 1) Don't protect \/ and \. even if user say so. They are not special charsAndrey A. Chernov2016-07-191-8/+5
* g_Ctoc() conversion buffers are smaller than needed up to MB_CUR_MAX - 1Andrey A. Chernov2016-07-181-4/+4
* Change patch from r303004 case 3. According to POSIX gl_errfunc should beAndrey A. Chernov2016-07-181-3/+3
* 1) Add all characters from ~ expansion as protected to be not interpretedAndrey A. Chernov2016-07-181-3/+6
* 1) POSIX defines well when GLOB_ABORTED can be returned (only for directoryAndrey A. Chernov2016-07-181-20/+35
* In g_Ctoc() apply CHAR() macro to *str to strip all flags. It gains nothingAndrey A. Chernov2016-07-171-3/+3
* 1) This file full of direct char <-> wchar_t assignment, not converted, cutAndrey A. Chernov2016-07-171-47/+97
* 1) Eliminate possibility to call __*collate_range_cmp() with inclompleteAndrey A. Chernov2016-07-141-2/+2
* Back out non-collating [a-z] ranges.Andrey A. Chernov2016-07-141-1/+9
* Remove broken support for collation in [a-z] type ranges.Andrey A. Chernov2016-07-101-9/+1
* libc/locale: Fix type breakage in __collate_range_cmp().Pedro F. Giffuni2016-06-051-2/+2
* Use proper function prototype for readdir().Craig Rodrigues2015-09-221-10/+6
* Spelling correctionEd Maste2013-04-111-1/+1
* Protect against DoS attacks, such as being described in CVE-2010-2632.Marcel Moolenaar2012-12-011-22/+79
* In globextend(), take advantage of the fact that realloc(NULL, size) isMarcel Moolenaar2012-12-011-3/+2
* In globextend() when the pathv vector cannot be (re-)allocated, don'tMarcel Moolenaar2012-12-011-6/+1
* - Fix style(9) bugs in glob.cEitan Adler2011-12-201-35/+35
* - Add restrict keyword to glob(3)Eitan Adler2011-12-201-1/+2
* Implement xlocale APIs from Darwin, mainly for use by libc++. This adds aDavid Chisnall2011-11-201-3/+10
* Fix a bug due to a type conversion from 64 to 32 bits. The side effect ofGordon Tetlow2010-05-121-2/+2
* Gcc barfs in glob.c when run with -O3. To fix this make g_strchr() work onMike Makonnen2008-06-261-5/+5
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
* - ANSIfy.Xin LI2006-06-051-69/+26
* Reflect size_t changes in glob.hAndrey A. Chernov2006-05-221-22/+23
* Don't reuse *pl to skip [], it is already used for {} parts in the loop aboveAndrey A. Chernov2005-09-141-3/+3
* Add support for multibyte characters.Tim J. Robbins2004-07-291-30/+84
* Remove incomplete support for running FreeBSD userland on old NetBSD kernelsTim J. Robbins2003-10-291-4/+1
* Update glob(3) to add all the POSIX required options, specifically:Mike Heffner2002-07-171-18/+20
* * Remove __P and convert to ANSI prototypes.David E. O'Brien2002-02-011-33/+33
* Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatibleMike Heffner2001-07-291-4/+8
* Mostly pick up OpenBSD's rev 1.14 by deraadt@ and millert@.Peter Wemm2001-03-281-42/+39
* OpenBSD's g_Ctoc() returned a false error when the target buffer wasPeter Wemm2001-03-281-16/+16
* Fix g_Ctoc() interface, approximately based on OpenBSD's recent changes.Peter Wemm2001-03-281-14/+36