summaryrefslogtreecommitdiffstats
path: root/libc/misc/dirent/scandir.c
Commit message (Collapse)AuthorAgeFilesLines
* dirent: push dirent type to prototypesMike Frysinger2009-07-201-8/+2
| | | | | | | | | | This syncs the dirent related functions with the glibc behavior -- rather than take void pointers everywhere, make the struct dirent pointers explicit in the API. After all, the functions themselves will cast the pointers to a dirent structure, so if it isn't as expected, people will crash. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-4/+4
| | | | | Appears to build fine (several .configs tried)
* - sync fix for scandir errno handling to scandir64 (r23600)Bernhard Reutner-Fischer2008-10-181-12/+11
| | | | Thanks to Peter S. Mazinger for mentioning this.
* Fix scandir function to reset the errno when the Carmelo Amoroso2008-10-061-2/+16
| | | | | | | | | | | selector returns zero(no entries) modifying the errno. The attached test case implements a dummy filter that returns alway no entries, but change the errno. scandir is not expected to fail, just returning 0 entries. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-1/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | 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.
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-27/+13
| | | | missing headers, other jump relocs removed
* Convert all users of earlier hiddensPeter S. Mazinger2005-12-131-1/+1
|
* Use internal versionsPeter S. Mazinger2005-12-081-0/+2
|
* More hiding, 300 leftPeter S. Mazinger2005-12-041-0/+2
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-1/+1
|
* Fix a segfault in scandir for empty directories. After looking overEric Andersen2002-03-121-65/+77
| | | | | our version, I'm adopting the scandir from glibc (with minor changes) instead as it seems simpler and already correct.
* Scrub malloc handlingEric Andersen2002-01-081-8/+12
|
* Scrub up some lingering problems preventing readdir64 from workingEric Andersen2001-11-141-0/+1
| | | | | | and creating several *64 problems, particualrly when client apps used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now. -Erik
* A patch from Jon Nelson <jnelson@securepipe.com> to make scandirEric Andersen2001-05-081-4/+5
| | | | sort things as it is supposed to do.
* Add in alphasort (working fine) and scandir (just a stub for now).Eric Andersen2001-03-191-0/+79
-Erik