summaryrefslogtreecommitdiffstats
path: root/libc/misc/dirent/scandir.c
Commit message (Collapse)AuthorAgeFilesLines
* dirent: push dirent type to prototypesMike Frysinger2009-08-191-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk @ 24165Carmelo Amoroso2008-11-271-4/+4
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-171-5/+18
| | | | Step 6: libc/misc
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-311-1/+1
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-091-1/+1
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge from trunk."Steven J. Hill"2006-02-271-27/+13
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-071-1/+1
|
* Merge from trunk."Steven J. Hill"2005-12-101-0/+2
|
* Big merge from trunk. Stop the madness!"Steven J. Hill"2005-12-061-0/+2
|
* Merge from trunk. More to come you betcha'."Steven J. Hill"2005-12-021-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