Stelian Ionescu [Mon, 19 Nov 2012 16:54:05 +0000]
Fix typo: lfp_mkostemp not mkostemp
Stelian Ionescu [Mon, 19 Nov 2012 16:53:51 +0000]
Include stdlib.h for OSX
Stelian Ionescu [Mon, 19 Nov 2012 16:16:39 +0000]
Move macro checks up, seems to fix OSX bug
Stelian Ionescu [Sat, 6 Oct 2012 17:18:55 +0000]
Make the includes C++-friendly again, "template" is a reserved keyword
Stelian Ionescu [Tue, 14 Aug 2012 23:01:37 +0000]
Style fix
Stelian Ionescu [Tue, 14 Aug 2012 20:05:07 +0000]
Use plain strlen instead of pathconf+strnlen
Bug found by Coverity Scan
David Lichteblau [Tue, 15 Mar 2011 14:54:35 +0000]
ioctl.c needs termios.h for TIOCSCTTY
David Lichteblau [Tue, 15 Mar 2011 14:53:39 +0000]
Use gcc-specific __attribute__ only on gcc
Stelian Ionescu [Tue, 14 Aug 2012 02:44:11 +0000]
Add lfp_mkostemp()
Stelian Ionescu [Tue, 14 Aug 2012 02:36:11 +0000]
Fix typo
Stelian Ionescu [Tue, 14 Aug 2012 02:31:06 +0000]
Implement mkstemp() instead of wrapping the system-provided instance
In addition to POSIX mkstemp(), lfp_mkstemp() opens files using mode 0600 and O_CLOEXEC
Stelian Ionescu [Sat, 11 Aug 2012 22:18:56 +0000]
Fix file-descriptor leak in LFP_SPAWN_FILE_ACTION_OPEN
Bug found by Coverity Scan
Stelian Ionescu [Sat, 11 Aug 2012 22:17:18 +0000]
Add macro GET_ERRNO
Stelian Ionescu [Sat, 11 Aug 2012 22:16:36 +0000]
Move macros used in just one file to the place of use
Stelian Ionescu [Sat, 11 Aug 2012 22:15:17 +0000]
Fix licence name in .spec file
Stelian Ionescu [Wed, 27 Jun 2012 14:00:51 +0000]
LFP_REQUIRE_HEADERS and LFP_REQUIRE_FUNCS now report the precise missing feature
Stelian Ionescu [Wed, 27 Jun 2012 11:44:11 +0000]
lfp_parse_memsize now returns int64_t
On some systems ssize_t is 32-bit, so use int64_t
Stelian Ionescu [Wed, 27 Jun 2012 10:42:27 +0000]
Allow make check to complete if tests disabled
Stelian Ionescu [Wed, 27 Jun 2012 10:42:03 +0000]
Disable test suite by default
Stelian Ionescu [Wed, 27 Jun 2012 10:29:37 +0000]
Make test suite optional
Stelian Ionescu [Wed, 27 Jun 2012 10:29:19 +0000]
Move test suite check at the end of configure.ac
Stelian Ionescu [Tue, 26 Jun 2012 19:29:56 +0000]
Update Debian build files
Stelian Ionescu [Wed, 13 Jun 2012 14:53:06 +0000]
Release 0.2.4
Stelian Ionescu [Wed, 13 Jun 2012 14:44:56 +0000]
lfp_tty_attach: fix FD leak
Stelian Ionescu [Wed, 13 Jun 2012 14:08:30 +0000]
Release 0.2.3
Stelian Ionescu [Wed, 13 Jun 2012 13:48:55 +0000]
Add lfp_tty_attach() and lfp_tty_fattach(), use for LFP_SPAWN_SETCTTY
Stelian Ionescu [Wed, 13 Jun 2012 13:47:34 +0000]
LFP_SPAWN_SETCTTY requires LFP_SPAWN_SETSID
Stelian Ionescu [Wed, 30 May 2012 16:30:13 +0000]
Update Debian control file to standards version 3.9.3
Stelian Ionescu [Wed, 30 May 2012 16:10:07 +0000]
Release 0.2.2
Stelian Ionescu [Wed, 30 May 2012 16:09:42 +0000]
FreeBSD: define __BSD_VISIBLE to access OS-specific syscalls
Stelian Ionescu [Wed, 30 May 2012 16:08:39 +0000]
Add RPM .spec file
Stelian Ionescu [Sat, 5 May 2012 20:12:22 +0000]
Mention dependency on check in the README
Stelian Ionescu [Tue, 31 Jan 2012 14:55:01 +0000]
Fix comment
Stelian Ionescu [Mon, 16 Jan 2012 00:58:45 +0000]
Use AS_IF in configure.ac
Stelian Ionescu [Sat, 24 Dec 2011 20:55:34 +0000]
Fix tests: proper signature of main()
Stelian Ionescu [Sun, 4 Dec 2011 23:23:16 +0000]
Shorter lfp_strndup()
Stelian Ionescu [Sun, 4 Dec 2011 22:53:56 +0000]
Remove stray include
Stelian Ionescu [Sun, 4 Dec 2011 22:39:22 +0000]
lfp_getpath() now accepts NULL meaning the global environment
Stelian Ionescu [Sun, 4 Dec 2011 22:38:52 +0000]
lfp_getpath() now does some minimal checks returning the default PATH if they fail
Stelian Ionescu [Fri, 25 Nov 2011 23:34:33 +0000]
Update Debian build rules
Stelian Ionescu [Fri, 25 Nov 2011 22:04:53 +0000]
Release 0.2.1
Stelian Ionescu [Fri, 25 Nov 2011 17:30:36 +0000]
Add lfp_parse_memsize()
Stelian Ionescu [Fri, 25 Nov 2011 17:28:22 +0000]
Save compile flags properly during tests
Stelian Ionescu [Fri, 25 Nov 2011 17:27:48 +0000]
Define LFP_* flags later during configure
Stelian Ionescu [Fri, 25 Nov 2011 17:27:08 +0000]
Syntax and standards-compliance fixes
Stelian Ionescu [Fri, 25 Nov 2011 16:42:55 +0000]
Cosmetic change
Stelian Ionescu [Mon, 14 Nov 2011 14:57:15 +0000]
Release 0.2
Stelian Ionescu [Mon, 14 Nov 2011 14:05:13 +0000]
Add dependency on check >= 0.9.4 to Debian rules
Stelian Ionescu [Tue, 8 Nov 2011 23:24:28 +0000]
Add dependency on libcheck for the test suite
Stelian Ionescu [Wed, 2 Nov 2011 13:01:49 +0000]
Cosmetic fixes
Stelian Ionescu [Wed, 2 Nov 2011 13:01:43 +0000]
Fix typoes
Stelian Ionescu [Wed, 2 Nov 2011 13:00:46 +0000]
Mark symbols hidden by default, add explicit exports
Stelian Ionescu [Wed, 2 Nov 2011 12:58:41 +0000]
Auto-include config.h, split utils.h into macros.h and inlines.h
Stelian Ionescu [Wed, 2 Nov 2011 12:53:09 +0000]
Bring back __xpg_strerror_r
Stelian Ionescu [Wed, 2 Nov 2011 12:51:55 +0000]
Move library auxiliary files into src/
Stelian Ionescu [Sun, 9 Oct 2011 19:45:34 +0000]
Enable threading extensions on Solaris
Stelian Ionescu [Sun, 9 Oct 2011 17:55:44 +0000]
Quote shell variables in Autoconf macros
Stelian Ionescu [Sat, 8 Oct 2011 21:09:27 +0000]
Add comment
Stelian Ionescu [Sat, 8 Oct 2011 00:52:33 +0000]
Remove stray SYSERR(ENOSYS) from lfp_getpeereid()
Stelian Ionescu [Sat, 8 Oct 2011 00:28:01 +0000]
Allocate ucred_t on the stack
Stelian Ionescu [Sat, 8 Oct 2011 00:13:10 +0000]
Add lfp_getpeereid()
Stelian Ionescu [Fri, 7 Oct 2011 22:58:52 +0000]
Shorter check for OSX
Stelian Ionescu [Fri, 7 Oct 2011 22:56:51 +0000]
Fix typo
Stelian Ionescu [Mon, 26 Sep 2011 16:50:54 +0000]
Fix typo
Stelian Ionescu [Mon, 26 Sep 2011 16:49:51 +0000]
Declare the main language to be C
Stelian Ionescu [Mon, 26 Sep 2011 16:49:41 +0000]
Check for sys/signal.h before using
Stelian Ionescu [Sun, 25 Sep 2011 21:17:26 +0000]
Make lfp_wifcontinued() return false if WIFCONTINUED isn't defined, like on NetBSD 5.1
Stelian Ionescu [Sun, 25 Sep 2011 21:07:39 +0000]
Various fixes for NetBSD
Stelian Ionescu [Sat, 24 Sep 2011 21:07:51 +0000]
Add checks for OSX Mach features
Stelian Ionescu [Sat, 24 Sep 2011 21:07:27 +0000]
Don't define _XOPEN_SOURCE on OSX
Stelian Ionescu [Sat, 24 Sep 2011 21:06:50 +0000]
Check for NSIG in sys/signal.h too
Stelian Ionescu [Fri, 16 Sep 2011 00:13:15 +0000]
The second argument of lfp_execve() and lfp_execvpe() too must be non-NULL
Stelian Ionescu [Fri, 16 Sep 2011 00:12:40 +0000]
Use execve() instead of lfp_execve() in lfp_execvpe(), so as not to check arguments twice
Stelian Ionescu [Thu, 15 Sep 2011 20:49:02 +0000]
Add lfp_set_environ()
Stelian Ionescu [Thu, 15 Sep 2011 20:48:50 +0000]
Add lfp_clerenv()
Stelian Ionescu [Thu, 15 Sep 2011 16:50:20 +0000]
Cosmetic changes
Stelian Ionescu [Thu, 15 Sep 2011 16:40:01 +0000]
Use strtok_r() instead of strsep()
Stelian Ionescu [Thu, 15 Sep 2011 16:24:09 +0000]
Add libnsl to search list for socket()
Stelian Ionescu [Thu, 15 Sep 2011 16:19:03 +0000]
Use LFP_SEARCH_LIBS to search for socket()
Stelian Ionescu [Thu, 15 Sep 2011 16:18:49 +0000]
Use LFP_SEARCH_LIBS to search for clock_gettime()
Stelian Ionescu [Thu, 15 Sep 2011 16:18:29 +0000]
Add LFP_SEARCH_LIBS
Stelian Ionescu [Thu, 15 Sep 2011 16:17:37 +0000]
Replace AC_CHECK_FUNCS_ONCE with AC_CHECK_FUNCS
Stelian Ionescu [Fri, 9 Sep 2011 13:29:50 +0000]
Fix lfp_spawn() test: use lfp_get_environ() instead of environ
Stelian Ionescu [Thu, 8 Sep 2011 15:35:44 +0000]
Require program getconf
Stelian Ionescu [Thu, 8 Sep 2011 15:02:46 +0000]
Add Debian watch file
Stelian Ionescu [Thu, 8 Sep 2011 14:42:59 +0000]
Print some useful information at the start of configure: build dirs and build flags
Stelian Ionescu [Thu, 8 Sep 2011 14:42:04 +0000]
Move warning about $builddir up
Stelian Ionescu [Thu, 8 Sep 2011 14:13:11 +0000]
Move all build-related files to build/
Stelian Ionescu [Wed, 7 Sep 2011 15:05:06 +0000]
Fix the pselect-less branch of lfp_select
Stelian Ionescu [Wed, 7 Sep 2011 15:01:56 +0000]
Declare as constant the first argument of time struct converters
Stelian Ionescu [Tue, 6 Sep 2011 21:57:31 +0000]
Better detection of non-C99 users in aux.h
Stelian Ionescu [Tue, 6 Sep 2011 21:48:47 +0000]
Rename CPLUSPLUS_GUARD -> LFP_BEGIN_DECLS, END_CPLUSPLUS_GUARD -> LFP_END_DECLS
Stelian Ionescu [Tue, 6 Sep 2011 21:32:44 +0000]
Better wrapping of strerror_r
Drop test for __xpg_strerror_r and move lfp_strerror to its own file,
where _GNU_SOURCE is undefined before including system headers
Stelian Ionescu [Tue, 6 Sep 2011 18:55:45 +0000]
Revert "Don't use += in configure"
The configure script checks that the shell supports += so it's safe to use
This reverts commit
efdc08afef2b6da64f0d7167133bb313e92ef494.
Stelian Ionescu [Tue, 6 Sep 2011 00:07:32 +0000]
Add Debian build rules
Stelian Ionescu [Mon, 5 Sep 2011 23:34:38 +0000]
Don't use += in configure
Stelian Ionescu [Mon, 5 Sep 2011 23:34:03 +0000]
Don't install config.h, rather use AC_SUBST to hardcode flags in headers
Stelian Ionescu [Mon, 5 Sep 2011 21:31:07 +0000]
Add header guards to config.h
Stelian Ionescu [Mon, 5 Sep 2011 21:30:53 +0000]
Add LFP_REQUIRE_PROG, use it to check for getconf
Stelian Ionescu [Mon, 5 Sep 2011 21:04:46 +0000]
Add copyright to configure.ac