aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.c
AgeCommit message (Expand)Author
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