log lib/portability.h @ 1776:7bf68329eb3b draft default tip

age author description
Sun, 01 Mar 2015 16:35:05 -0600 Rob Landley Only switch on printf format warnings for error_exit() and friends when TOYBOX_DEBUG enabled. draft
Sun, 01 Mar 2015 16:16:50 -0600 Elliott Hughes let the compiler check format strings draft
Fri, 06 Feb 2015 16:42:44 -0600 Rob Landley Alright, the Android guys agree with the musl guys: faccessat(AT_SYMLINK_NOFOLLOW) is not supported. draft
Sun, 18 Jan 2015 13:44:24 -0600 Rob Landley Lift the basename/libgen.h shenanigans back out of portability.c and make it a static inline in portability.h, and prototype dirname() while we're at it. draft
Sun, 18 Jan 2015 13:36:31 -0600 Elliott Hughes fix non-glibc basename(3) usage draft
Fri, 16 Jan 2015 13:55:32 -0600 Rob Landley Move pty.h back to toys.h (under LSB 4.1 headers). draft
Fri, 16 Jan 2015 13:49:23 -0600 Elliott Hughes AOSP master has <pty.h> and builds netcat/nc. draft
Fri, 16 Jan 2015 13:43:09 -0600 Rob Landley id.c #ifdefectomy. (ifdefs belong in headers, not in C code.) draft
Fri, 16 Jan 2015 13:36:53 -0600 Elliott Hughes This patch adds a TOYBOX_SELINUX configuration option to control both draft
Wed, 31 Dec 2014 16:22:31 -0600 Rob Landley When you include the posix header libgen.h, glibc #defines basename to some random other symbol name (because gnu) and this screws up nontrivial macro expansions of NEWTOY(basename), so work around it in portability.h. draft
Thu, 04 Dec 2014 21:46:59 -0600 Rob Landley Work with buildroot's extensively patched uClibc, and for nommu support move xfork() to portability.h and #ifdef based on __uClinux__ (which seems to be the nommu compiler define). draft
Sat, 22 Nov 2014 00:36:45 -0600 Rob Landley As long as Android's going to require fortify, fixup the warnings it generates. draft
Fri, 21 Nov 2014 21:49:05 -0600 Elliott Hughes A patch against your current ToT that builds in AOSP master. draft
Fri, 21 Nov 2014 06:42:37 -0600 Rob Landley Patch from Elliott Hughes for Android/bionic build. draft
Wed, 19 Nov 2014 16:55:12 -0600 Rob Landley Fixups for the android/bionic build probes patch. draft
Wed, 19 Nov 2014 16:38:46 -0600 Isaac Dunham probe for getspnam(), forkpty(), utmpx, replace sethostname() draft
Thu, 02 Oct 2014 07:24:38 -0500 Rob Landley Workaround for musl's faccessat bug (the rm -r "error: is a directory" thing). draft 0.5.0
Sat, 20 Sep 2014 18:46:47 -0500 Rob Landley Tweak portability.h for uClibc version in buildroot defconfig. draft
Sat, 06 Sep 2014 13:24:58 -0500 Rob Landley Work around uClibc brain-damage. draft
Tue, 12 Aug 2014 07:09:01 -0500 Ashwini Sharma Patches to commands for issues reported from static analysis tool. draft
Sun, 20 Jul 2014 16:34:36 -0500 Rob Landley Add utf8 support to ls -C. draft
Tue, 06 May 2014 06:14:20 -0500 Rob Landley Use compiler built-in macros to determine if argument parsing can use double or float for FLOAT arguments. (I.E. whether double fits in a long's memory.) Check in a way that the macros not being defined just gives us the shorter one. draft
Tue, 15 Apr 2014 21:59:42 -0500 Rob Landley Probes for O_NOFOLLOW that compile and run something aren't compatible with cross compiling, so just #define it to 0 if it's not in fcntl.h where posix-2008 says. draft
Sat, 29 Mar 2014 18:11:00 -0500 Rob Landley Group headers by standard (POSIX or LSB) or function (internationalization, networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix. draft
Tue, 28 Jan 2014 10:10:25 -0600 Isaac Dunham Two changes to shut up GCC: draft
Thu, 19 Dec 2013 15:11:45 -0600 Rob Landley Only define MNT_DETACH for old glibc, portability.h included _before_ sys/mount.h... draft
Thu, 19 Dec 2013 15:02:18 -0600 Rob Landley Regression test against Ancient Build Environment (Ubuntu 8.04), fixup bit-rot. draft
Mon, 11 Mar 2013 22:23:46 -0500 Rob Landley Compile time probe to fish O_NOFOLLOW out of linux headers when fcntl doesn't conform to posix-2008. 0.4.4
Sat, 09 Mar 2013 12:01:36 -0600 Rob Landley O_NOFOLLOW is specified by posix-2008 and varies by target, don't try to supply them for broken headers.
Sun, 24 Feb 2013 11:11:02 -0600 Rob Landley Comment updates and a policy statement about avoiding #define GNU_dammit
Mon, 04 Feb 2013 08:07:32 -0600 Rob Landley More support for old (~2008) build environments, move the #ifdef checks for symbols out of specific library version checks (shouldn't hurt anything), remove obsolete debug macro.
Tue, 15 Jan 2013 12:33:46 -0600 Rob Landley Work around more random uClibc-specific breakage.
Sat, 01 Dec 2012 17:59:38 -0600 Rob Landley Fix ancient glibc workaround to force fstatat64
Mon, 26 Nov 2012 23:24:07 -0600 Rob Landley The headers of uClibc and older glibc got unhappy with O_DIRECTORY and some other stuff. Fix it up in portability.h.
Fri, 16 Nov 2012 18:01:35 -0600 Rob Landley More touch cleanup to use generic infrastructure: use getdate() from libc, use flag macros, option parsing can collect argument strings in global block, use existing perror_* macros.
Tue, 13 Nov 2012 06:32:03 -0600 Rob Landley Older versions of glibc predated posix-2008. They still provide most of what we need, but require a boot to the headers to get them to admit it. Note that uClibc lies and claims to be glibc so we have to specifically exclude it here. 0.4.1
Sat, 16 Jun 2012 14:19:56 -0500 Rob Landley More header fiddling: crypt.h is silly, SUSv4 requires crypt() to be prototyped in unistd.h. The fact glibc refuses to do so without a wacky #define is a glibc bug, treat it as such.
Mon, 19 Mar 2012 19:19:21 -0500 Rob Landley Remove "feature test macros", replace non-portable fdprintf() with standard fprintf().
Fri, 16 Mar 2012 06:42:08 -0500 Georgi Chorbadzhiyski Implement Apple and Android versions of getline(), getdelim(), and clearenv().
Wed, 07 Mar 2012 19:04:50 -0600 Rob Landley Consolidate headers.
Wed, 06 Jan 2010 05:28:32 -0600 Rob Landley Shut up even MORE gcc/glibc spurious warnings.
Thu, 15 Nov 2007 21:12:24 -0600 Rob Landley Add noreturn mark to [p]error_exit(), suggested by Charlie Shepherd.
Tue, 13 Feb 2007 16:41:51 -0500 Rob Landley MacOS X has a defective sed with no -r.
Sat, 03 Feb 2007 14:10:00 -0500 Rob Landley Teach build to build only the toys/*.c selected in .config, and teach
Thu, 18 Jan 2007 21:54:08 -0500 Rob Landley Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, which
Sun, 14 Jan 2007 20:20:06 -0500 Rob Landley Add start of mke2fs/gene2fs, and some other stuff I've been working on.