summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/getdents64.c
Commit message (Collapse)AuthorAgeFilesLines
* new helper funcs for alloca/malloc with mmu/nommuMike Frysinger2010-07-271-3/+7
| | | | | | | | | | | | | The rpc rcmd code has some ugly ifdef mazes to handle mmu/nommu differences just to select alloca or malloc. Unify those with some helper macros in a new header, and then convert the rcmd code over to it. This is all geared towards fixing the getdents helper functions which only use alloca() atm. Now that we have helper functions, convert the getdents functions over too. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Steven J. Magnani <steve@digidescorp.com>
* fix breakage in x86_64 defconfigDenis Vlasenko2009-02-271-5/+1
|
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-1/+1
| | | | | Appears to build fine (several .configs tried)
* - trim superfluous ';'. No objcode changesBernhard Reutner-Fischer2008-10-281-1/+1
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-3/+3
|
* - fix inline keywordBernhard 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.
* prepare to later remove bits/kernel_types.h from bits/types.hEric Andersen2006-12-061-0/+1
|
* Kill 2 signedness warningsPeter S. Mazinger2006-02-151-1/+1
|
* Move hidden prototypes to proper place and get rid of duplicate hiddenPeter S. Mazinger2006-02-151-2/+2
|
* we cant simply alias getdents to getdents64 as they deal with structures of ↵Mike Frysinger2006-02-151-0/+2
| | | | different sizes on 32bit hosts
* use just __getdents64 rather than either __getdents and __getdents64 when ↵Mike Frysinger2006-02-041-7/+6
| | | | possible (saves space and gives us access to d_type most of the time)
* we get d_type from the kernel so use itMike Frysinger2006-02-041-1/+1
|
* create local prototypes to shutup warningsMike Frysinger2006-01-291-0/+1
|
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-24/+11
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-2/+5
| | | | missing headers, other jump relocs removed
* Convert all users of earlier hiddensPeter S. Mazinger2005-12-131-1/+1
|
* only define offsetof macro if it isnt already definedMike Frysinger2005-12-061-1/+2
|
* Kill 2 redefine warnings w/ gcc-4.xPeter S. Mazinger2005-12-011-1/+1
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-1/+1
|
* get rid of unused sysdep.h headerMike Frysinger2005-11-301-2/+0
|
* Hide more of stdio,getdents, use internal __raisePeter S. Mazinger2005-11-151-3/+3
|
* Use local copy of sysdep.hPeter S. Mazinger2005-10-251-1/+1
|
* We need to have the size of struct dirent equal to the size of struct dirent64Eric Andersen2003-02-101-6/+6
| | | | | | | so when _FILE_OFFSET_BITS=64 (such that we transparently change 32bit into 64 bit interfaces), we will not lose an unsigned char from d_name which silently becomes the d_type field instead. oops. -Erik
* Fixup compile on 2.2.x kernels when UCLIBC_HAS_LFS is enabledEric Andersen2003-02-031-4/+9
|
* Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen2003-01-281-0/+108
and did cause segfaults) by adjusting the working scandir.c to the the 64 thing. Fix up potential for mismatches between the libc and kernel dirent structures, which could also cause ugly problems. -Erik