summaryrefslogtreecommitdiffstats
path: root/libc/misc/glob/glob.c
Commit message (Collapse)AuthorAgeFilesLines
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-3/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-23/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-14/+14
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-1/+1
|
* - remove non stdc path (old style definitions). No obj-code changesBernhard Reutner-Fischer2008-09-181-7/+6
|
* replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko2008-05-201-2/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-8/+8
| | | | | | | | | 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.
* - should look if LFS is enabled as suggested by pkj in #1131. This generates ↵Bernhard Reutner-Fischer2007-01-301-1/+1
| | | | 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).
* - fix compilation of GNU glob with !LFSBernhard Reutner-Fischer2007-01-291-1/+1
| | | | Sounds like a typo, really
* patch from psm:Eric Andersen2006-07-131-19/+15
| | | | | | | | | | | | | | | - 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)
* remove jump relocs, with minor related cleanupsEric Andersen2006-07-051-30/+53
|
* minor updatesEric Andersen2006-07-051-46/+55
|
* gcc 4.1.x is apparently miscompiling gnu glob on mips. This ports the ↵Eric Andersen2006-07-041-225/+764
| | | | | | | latest and massivly bloated greatest from glibc. And fixes things so the gnu glob interface is no longer the default.
* Change collated_compare/prefix_array to __x hidden, shrinks glob64 from 2352 ↵Peter S. Mazinger2006-02-161-8/+10
| | | | to 2063
* Remove __P(), reorder so that gcc-4.0.2 does not fail w/ multiPeter S. Mazinger2006-02-161-223/+202
|
* no point in redeclaring oldcount locallyMike Frysinger2006-01-291-2/+0
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-1/+0
| | | | is a useless attempt
* make gcc4 happy w/ hidden_def/proto, correct some typosPeter S. Mazinger2006-01-151-27/+28
|
* hide __glob_*dir_hookPeter S. Mazinger2006-01-151-3/+3
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-25/+32
| | | | missing headers, other jump relocs removed
* Hope it solves JBG's problem, why didn't it bail out here?Peter S. Mazinger2005-12-161-0/+4
|
* glob/ftw/regex_old reworked. regex_old did not have MBS_SUPPORT enabledPeter S. Mazinger2005-12-161-17/+29
|
* Convert all users of earlier hiddensPeter S. Mazinger2005-12-131-1/+1
|
* Convert internal users of chmod/*stat*, minimize change for __strsepPeter S. Mazinger2005-12-131-1/+1
|
* Use internal versionsPeter S. Mazinger2005-12-081-3/+7
|
* More hiding, 300 leftPeter S. Mazinger2005-12-041-0/+1
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-13/+13
|
* Hide some of mem* and str*Peter S. Mazinger2005-11-271-0/+3
|
* Sync w/ dirent.h, s:HAVE_D_NAMLEN:_DIRENT_HAVE_D_NAMLEN:Peter S. Mazinger2005-11-111-1/+1
|
* import fix from glibc to resolve segfault reported by wmq in Bug 335Mike Frysinger2005-07-121-1/+1
|
* Don't make two copiesEric Andersen2003-10-121-34/+38
|
* Sigh. It seems that csh wants glob_pattern_p(), we need toEric Andersen2003-10-121-5/+3
| | | | export it,
* uClibc 0.9.19 has a bug in globfree(). If the previous call toEric Andersen2003-04-291-2/+2
| | | | | | | | | | | 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
* Doh! I forgot to commit this...Eric Andersen2002-04-031-3/+3
|
* A few more little cleanupsEric Andersen2002-02-261-2/+2
|
* Add in an older libc5 glob implementation, which is a bit thinner.Eric Andersen2001-05-091-963/+451
| | | | -Erik
* New misc tree that actually has misc stuff in it.Eric Andersen2000-10-111-0/+1028