summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdents64.c
AgeCommit message (Collapse)Author
2010-07-27new helper funcs for alloca/malloc with mmu/nommuMike Frysinger
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>
2009-02-27fix breakage in x86_64 defconfigDenis Vlasenko
2008-11-20Last portion of libc_hidden_proto removal.Denis Vlasenko
Appears to build fine (several .configs tried)
2008-10-28- trim superfluous ';'. No objcode changesBernhard Reutner-Fischer
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-07-23- fix inline keywordBernhard Reutner-Fischer
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.
2006-12-06prepare to later remove bits/kernel_types.h from bits/types.hEric Andersen
2006-02-15Kill 2 signedness warningsPeter S. Mazinger
2006-02-15Move hidden prototypes to proper place and get rid of duplicate hiddenPeter S. Mazinger
2006-02-15we cant simply alias getdents to getdents64 as they deal with structures of ↵Mike Frysinger
different sizes on 32bit hosts
2006-02-04use just __getdents64 rather than either __getdents and __getdents64 when ↵Mike Frysinger
possible (saves space and gives us access to d_type most of the time)
2006-02-04we get d_type from the kernel so use itMike Frysinger
2006-01-29create local prototypes to shutup warningsMike Frysinger
2006-01-14make DODEBUG=y happy, update sysdeps/common/* copyrightPeter 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-13Convert all users of earlier hiddensPeter S. Mazinger
2005-12-06only define offsetof macro if it isnt already definedMike Frysinger
2005-12-01Kill 2 redefine warnings w/ gcc-4.xPeter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-30get rid of unused sysdep.h headerMike Frysinger
2005-11-15Hide more of stdio,getdents, use internal __raisePeter S. Mazinger
2005-10-25Use local copy of sysdep.hPeter S. Mazinger
2003-02-10We need to have the size of struct dirent equal to the size of struct dirent64Eric Andersen
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
2003-02-03Fixup compile on 2.2.x kernels when UCLIBC_HAS_LFS is enabledEric Andersen
2003-01-28Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen
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