summaryrefslogtreecommitdiff
path: root/lib/portability.h
AgeCommit message (Expand)AuthorFilesLines
2015-07-11Fix 32-bit bionic toybox build.Elliott Hughes1-2/+10
2015-05-18More ls -Z upgrading. Move TOYBOX_SELINUX and TOYBOX_SMACK support fromRob Landley1-21/+4
2015-05-08Move not-curses code into interstingtimes.cRob Landley1-1/+1
2015-05-03Move a prototype to the start of portability.h (suggested by Elliott Hughes)Rob Landley1-0/+3
2015-05-01Portability bits for the recent ls smack changes.Rob Landley1-0/+6
2015-04-17Link against libattr and libsmack.Xavier Roche1-0/+9
2015-04-15Put SELINUX in a a menu, and add config option for SMACK.Rob Landley1-0/+4
2015-03-01Only switch on printf format warnings for error_exit() and friends when TOYBO...Rob Landley1-0/+4
2015-03-01let the compiler check format stringsElliott Hughes1-0/+2
2015-02-06Alright, the Android guys agree with the musl guys: faccessat(AT_SYMLINK_NOFO...Rob Landley1-6/+0
2015-01-18Lift the basename/libgen.h shenanigans back out of portability.c and make it ...Rob Landley1-4/+8
2015-01-18fix non-glibc basename(3) usageElliott Hughes1-0/+5
2015-01-16Move pty.h back to toys.h (under LSB 4.1 headers).Rob Landley1-3/+0
2015-01-16AOSP master has <pty.h> and builds netcat/nc.Elliott Hughes1-4/+1
2015-01-16id.c #ifdefectomy. (ifdefs belong in headers, not in C code.)Rob Landley1-0/+3
2015-01-16This patch adds a TOYBOX_SELINUX configuration option to control bothElliott Hughes1-0/+4
2014-12-31When you include the posix header libgen.h, glibc #defines basename to some r...Rob Landley1-0/+9
2014-12-04Work with buildroot's extensively patched uClibc, and for nommu support move ...Rob Landley1-0/+21
2014-11-22As long as Android's going to require fortify, fixup the warnings it generates.Rob Landley1-12/+0
2014-11-21A patch against your current ToT that builds in AOSP master.Elliott Hughes1-3/+0
2014-11-21Patch from Elliott Hughes for Android/bionic build.Rob Landley1-1/+4
2014-11-19Fixups for the android/bionic build probes patch.Rob Landley1-3/+5
2014-11-19probe for getspnam(), forkpty(), utmpx, replace sethostname()Isaac Dunham1-1/+16
2014-10-02Workaround for musl's faccessat bug (the rm -r "error: is a directory" thing).Rob Landley1-0/+6
2014-09-20Tweak portability.h for uClibc version in buildroot defconfig.Rob Landley1-0/+2
2014-09-06Work around uClibc brain-damage.Rob Landley1-0/+12
2014-08-12Patches to commands for issues reported from static analysis tool.Ashwini Sharma1-0/+4
2014-07-20Add utf8 support to ls -C.Rob Landley1-0/+5
2014-05-06Use compiler built-in macros to determine if argument parsing can use double ...Rob Landley1-1/+10
2014-04-15Probes for O_NOFOLLOW that compile and run something aren't compatible with c...Rob Landley1-2/+5
2014-03-29Group headers by standard (POSIX or LSB) or function (internationalization, n...Rob Landley1-0/+8
2014-01-28Two changes to shut up GCC:Isaac Dunham1-1/+1
2013-12-19Only define MNT_DETACH for old glibc, portability.h included _before_ sys/mou...Rob Landley1-4/+4
2013-12-19Regression test against Ancient Build Environment (Ubuntu 8.04), fixup bit-rot.Rob Landley1-1/+6
2013-03-11Compile time probe to fish O_NOFOLLOW out of linux headers when fcntl doesn't...0.4.4Rob Landley1-0/+2
2013-03-09O_NOFOLLOW is specified by posix-2008 and varies by target, don't try to supp...Rob Landley1-8/+0
2013-02-24Comment updates and a policy statement about avoiding #define GNU_dammitRob Landley1-11/+23
2013-02-04More support for old (~2008) build environments, move the #ifdef checks for s...Rob Landley1-19/+32
2013-01-15Work around more random uClibc-specific breakage.Rob Landley1-0/+3
2012-12-01Fix ancient glibc workaround to force fstatat64Rob Landley1-1/+2
2012-11-26The headers of uClibc and older glibc got unhappy with O_DIRECTORY and some o...Rob Landley1-8/+16
2012-11-16More touch cleanup to use generic infrastructure: use getdate() from libc, us...Rob Landley1-0/+2
2012-11-13Older versions of glibc predated posix-2008. They still provide most of what ...0.4.1Rob Landley1-0/+30
2012-06-16More header fiddling: crypt.h is silly, SUSv4 requires crypt() to be prototyp...Rob Landley1-8/+5
2012-03-19Remove "feature test macros", replace non-portable fdprintf() with standard f...Rob Landley1-6/+15
2012-03-16Implement Apple and Android versions of getline(), getdelim(), and clearenv().Georgi Chorbadzhiyski1-1/+7
2012-03-07Consolidate headers.Rob Landley1-2/+7
2010-01-06Shut up even MORE gcc/glibc spurious warnings.Rob Landley1-0/+9
2007-11-15Add noreturn mark to [p]error_exit(), suggested by Charlie Shepherd.Rob Landley1-0/+5
2007-02-13MacOS X has a defective sed with no -r.Rob Landley1-2/+18