aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.c
AgeCommit message (Expand)Author
2021-03-13Elliott spotted that errno==EAGAIN usually goes with an rc of -1, not 0.Rob Landley
2020-12-18Andy Hu wants mount -tnomsdos,smbfs to work.Rob Landley
2020-06-01Use copy_file_range() when available.Rob Landley
2020-05-28portability.c: fix macOS build.Elliott Hughes
2020-05-26Instead of ifdef linux or macos, just ifdef the signals.Rob Landley
2020-05-21Check the signal rather than special case a library and a target.Rob Landley
2020-05-21glibc on mips is missing SIGSTKFLTKhem Raj
2020-05-19xsignal_all_killers() should install the handler given to it, and do someRob Landley
2020-03-12Fix get_block_device_size() for linuxGreg Kaiser
2020-03-11Fix Mac build.Elliott Hughes
2019-12-06Squash a warning.Rob Landley
2019-12-06stat: fix filesystem type on macOS.Elliott Hughes
2019-11-23Fix dev_minor()/dev_major()/dev_makedev() for Mac.Elliott Hughes
2019-10-27macOS: implement posix_fallocate().Elliott Hughes
2019-06-11Move sig_to_num and num_to_sig into portability.c.Elliott Hughes
2019-06-08macOS: numerous fixes.Elliott Hughes
2019-06-03tail: fix macOS build.Elliott Hughes
2019-05-25Move notify.c into portability.c (collate the #ifdefs), move global variablesRob Landley
2019-04-21Shouldn't need clearenv() for macosx now we've got xclearenv.Rob Landley
2019-01-08FreeBSD will use the getmntinfo API as with AppleEd Maste
2018-12-07Forgot to check the portability.? changes. (Oops.)Rob Landley
2018-12-04macOS: move getmountlist.c functions into portability.c.Elliott Hughes
2018-11-30macOS: remove unnecessary <stdio.h> workarounds.Elliott Hughes
2018-08-03xgetrandom: use getrandom result if it succeedsPatrick Oppenlander
2018-07-13Fix typo in a macro nameKonst Mayer
2018-07-06Bionic ships newer libc with older kernels, so Android needs to fallback atRob Landley
2018-07-04Add xgetrandom() with probe for new system call (else open/read /dev/{,u}random)Rob Landley
2018-01-01xphung on github said: "config2help currently doesn't work on OS X, itRob Landley
2016-05-04Simplify ps android scheduling policy fetch slightly.Rob Landley
2016-04-30Add a ps "PCY" field for Android scheduling policy.Elliott Hughes
2015-07-03Probe for fork() instead of relying on a distro-specific #define.Rob Landley
2015-03-21Patch from David Halls to fix mac/ios portability issue.Rob Landley
2015-01-18Lift the basename/libgen.h shenanigans back out of portability.c and make it ...Rob Landley
2014-12-31When you include the posix header libgen.h, glibc #defines basename to some r...Rob Landley
2014-12-04Work with buildroot's extensively patched uClibc, and for nommu support move ...Rob Landley
2014-11-21A patch against your current ToT that builds in AOSP master.Elliott Hughes
2014-11-21Don't include asm/* files directly.Rob Landley
2014-11-19probe for getspnam(), forkpty(), utmpx, replace sethostname()Isaac Dunham
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked r...Rob Landley
2012-03-16Implement Apple and Android versions of getline(), getdelim(), and clearenv().Georgi Chorbadzhiyski