summaryrefslogtreecommitdiff
path: root/libc/misc/glob/glob.c
AgeCommit message (Collapse)Author
2008-09-18- remove non stdc path (old style definitions). No obj-code changesBernhard Reutner-Fischer
2008-05-20replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
2007-01-30- should look if LFS is enabled as suggested by pkj in #1131. This generates ↵Bernhard Reutner-Fischer
identical cc1 input for LFS enabled (compared to before r17652) but makes sure that we pickup the non-LFS if LFS is turned off (like r17652 did in this case).
2007-01-29- fix compilation of GNU glob with !LFSBernhard Reutner-Fischer
Sounds like a typo, really
2006-07-13patch from psm:Eric Andersen
- malloc/realloc/free are not prepared to be hidable in trunk, you can't use libc_hidden_proto(x) for them - using libc_hidden_proto(x64) LFS unguarded will fail because the header does not provide the prototype - if you are using libc_hidden_proto(collated_compare|prefix_array), you also need libc_hidden_def|_weak(x) after the function itself, the result being to provide a hidden __GI_collated_compare and a visible collated_compare, for this case I do not consider this necessary, especially that collated_compare is hidden already (I have chosen to prefix them with __ to know that they are intended to be internal only, against the practice in glibc, you could go without prefix as well)
2006-07-05remove jump relocs, with minor related cleanupsEric Andersen
2006-07-05minor updatesEric Andersen
2006-07-04gcc 4.1.x is apparently miscompiling gnu glob on mips. This ports the ↵Eric Andersen
latest and massivly bloated greatest from glibc. And fixes things so the gnu glob interface is no longer the default.
2006-02-16Change collated_compare/prefix_array to __x hidden, shrinks glob64 from 2352 ↵Peter S. Mazinger
to 2063
2006-02-16Remove __P(), reorder so that gcc-4.0.2 does not fail w/ multiPeter S. Mazinger
2006-01-29no point in redeclaring oldcount locallyMike Frysinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-15make gcc4 happy w/ hidden_def/proto, correct some typosPeter S. Mazinger
2006-01-15hide __glob_*dir_hookPeter S. Mazinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2005-12-16Hope it solves JBG's problem, why didn't it bail out here?Peter S. Mazinger
2005-12-16glob/ftw/regex_old reworked. regex_old did not have MBS_SUPPORT enabledPeter S. Mazinger
2005-12-13Convert all users of earlier hiddensPeter S. Mazinger
2005-12-13Convert internal users of chmod/*stat*, minimize change for __strsepPeter S. Mazinger
2005-12-08Use internal versionsPeter S. Mazinger
2005-12-04More hiding, 300 leftPeter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-27Hide some of mem* and str*Peter S. Mazinger
2005-11-11Sync w/ dirent.h, s:HAVE_D_NAMLEN:_DIRENT_HAVE_D_NAMLEN:Peter S. Mazinger
2005-07-12import fix from glibc to resolve segfault reported by wmq in Bug 335Mike Frysinger
2003-10-12Don't make two copiesEric Andersen
2003-10-12Sigh. It seems that csh wants glob_pattern_p(), we need toEric Andersen
export it,
2003-04-29uClibc 0.9.19 has a bug in globfree(). If the previous call toEric Andersen
glob(...,pglob) used the GLOB_DOOFFS flag to reserve the first pglob->gl_offs slots of pglob->gl_pathv, globfree(pglob) would attempt to free the objects pointed to by those slots. If those objects were not on the heap, the system would crash. The attached patch fixes this. Norm
2002-04-03Doh! I forgot to commit this...Eric Andersen
2002-02-26A few more little cleanupsEric Andersen
2001-05-09Add in an older libc5 glob implementation, which is a bit thinner.Eric Andersen
-Erik
2000-10-11New misc tree that actually has misc stuff in it.Eric Andersen