commit bd1b12e723477382ef90f260f0f803c846313a8d
Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Aug 23 05:57:56 2014 +0100 Update copyright notice commit 5e71ab06a753498bfb2862ac8f1a0a067d8730de Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Aug 23 05:49:03 2014 +0100 Remove inclusion of aux.h from lfp.h It's redundant because all the sub-headers already include it commit 07894e4cca6cb510f8f92917d2814579a660519f Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun May 11 17:21:29 2014 +0200 Fix compilation warning on OSX 10.9 commit 56085e50e5e4516080bfd25c7f898c4056fb5514 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Apr 11 15:36:36 2014 +0200 Fix email for Coverity notifications commit c5c4f3756457382224a9e64c4f4e196e29a422e6 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Apr 11 14:48:23 2014 +0200 Simplify handle_child() commit b360df798aa9de576764927e4e2f8e2277a2ea2b Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Apr 11 14:22:53 2014 +0200 Enable integration between Travis-CI and CoverityScan commit 0d1487b58884327e7d7d995cf59ef385ee136ffb Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Apr 9 16:00:14 2014 +0200 Allocate FD bitset up to current RLIMIT_NOFILE commit 2d0350d6b3399e9a13940e30f069abb5c0dfaaa5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Apr 1 20:23:11 2014 +0300 Wrap opendir(), telldir(), seekdir(), rewinddir() and closedir() commit 4bb4c6715e367d16e402945f45f19e09f5b3f54e Author: Vasily Postnicov <shamaz.mazum at gmail.com> Date: Wed Mar 12 22:26:48 2014 +0400 Support for DragonFly BSD commit 74d46423e71213008099033bf684222bb3cf7d1a Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Feb 27 17:20:10 2014 +0100 Fix memory leak reported by Coverity commit 3b5e2f553702323650836016ac3c186cbec9bb37 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Feb 27 14:09:45 2014 +0100 Add missing return commit bcffb369009e9f5a8fd0e2a12b83ba20d7314f63 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Feb 11 00:36:26 2014 +0100 Increase library version due to incompatible lfp_mkostemp() commit c1f410fc0e1fbdb573feca88f97b03a9be95ee68 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Feb 11 00:31:34 2014 +0100 Only use vfork() when explicitly requested commit 68db43c20e95894960f906e0dbae69fe599164d3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Feb 10 01:35:04 2014 +0100 Make lfp_spawn_file_actions_addkeep() public commit 435b75fa795ba95f359a42854d8df07156998740 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Feb 10 01:34:55 2014 +0100 Fix lfp_spawn_file_actions_emptyp commit 9d419839718182a8ab418b4d5f1cc0a10f784761 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Feb 10 00:59:27 2014 +0100 Ignore invalid FDs commit 43c57ee36ebb96cd81bf0822c9526c69656ad390 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Feb 10 00:52:52 2014 +0100 Set CLOEXEC flags on descriptors that aren't marked for keeping commit 7f95c763995362f2bce9d895dc22513a91ba67ed Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Feb 10 00:52:08 2014 +0100 Add function lfp_spawn_file_actions_addkeep() commit 16edae57fd3cd9cb03988174231a18917e85f9ab Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Feb 10 00:48:52 2014 +0100 Add bitset implementation create mode 100644 src/lib/bitset.c create mode 100644 src/lib/bitset.h commit d858fe545230364f2052b5b443b44a97b751d625 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Feb 9 21:49:08 2014 +0100 Cosmetic changes. commit d1d87216c5aeb05e794284bcec9e3c3273c1f5a5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 27 14:37:12 2014 +0100 Exit from lfp_execve() only in case of E2BIG or ENOMEM commit 2e8a3588ab6bcc45331dbb51668477712fae25a1 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 27 17:05:35 2014 +0100 Fix vfork() auto-detection commit 1048b76edf608267fa2fb73b3f94211383476ff1 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 27 16:50:23 2014 +0100 Add LFP_SPAWN_USEVFORK to allow forcing the use of vfork() commit d34e0b0f3aea32e5c8c97084cf580eccb1796ca5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 27 16:35:46 2014 +0100 Use vfork() when safe commit 6f2c55c7c63f0f0533ef3305af3eedcd8dfcc317 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 27 16:34:29 2014 +0100 Cosmetic change commit 9cf65d1cf6e1067da3f729d79b6b957393e36241 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 27 15:01:26 2014 +0100 Add lfp_spawn_attributes_emptyp() commit c1350b666b7f102962477bcdaab8d35b6fe10f21 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 27 15:00:37 2014 +0100 NULL file_actions are also empty commit e0d7be29cd2fd46468438b905853350653165c0f Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 27 14:57:59 2014 +0100 Cosmetic changes commit 27be96d736f06d69afebb436026a6c12ac9c12ef Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 27 14:42:17 2014 +0100 Remove whitespace commit b5ecd98eb1b9856946e9e8575b04ebbde64d42e6 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 26 02:13:04 2014 +0100 Don't close child's pipe manually They're both automatically closed on _exit() or execvp() commit 20ec44924258e55cc5b3591d70d13bdeb48948bd Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 26 02:00:08 2014 +0100 Reinitialize lfp_spawn_file_actions_t on destroy commit 1333893bd95d3f18c2688ba2ee7fe5bf195f55db Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 26 01:59:40 2014 +0100 Add lfp_spawn_file_actions_emptyp() and use it commit 199dccc519d663de6a9a841ae4fb8904b290844e Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 26 01:56:41 2014 +0100 Move lfp_spawn_file_actions_t initialization to separate function commit 0eca1a475a4906edfc287084e9237fb717176302 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 26 01:55:38 2014 +0100 Make initialized and allocated unsigned commit 3e43844588ebe9aa37d2dbf2e77c567be8ec67f5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Jul 11 13:45:00 2013 +0200 The flags argument of lfp_mkostemp() must be an uint64_t commit f35a3450f8f4fdb82f5293ab8b0f9bc3ad7af87d Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 5 13:39:42 2013 +0200 Travis-CI: don't join the IRC channel commit a6ef83d58eaf885e02cd2d0b330d619b6bb13de0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Jul 4 11:49:31 2013 +0200 Use chat.freenode.net for IRC notifications commit 43df0b79bd4e205c4af2df77cbc9f182178c500b Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Jul 4 11:43:28 2013 +0200 Add IRC notification for Travis-CI commit 4264495b865e09d6523ca218f9468973e3554e6e Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Jul 4 11:29:15 2013 +0200 AM_CPPFLAGS is the new name of INCLUDES commit 634eda7d05106227374750eb3bf0580df91be463 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Jul 4 11:28:59 2013 +0200 Use lfp_strnlen() in stdlib.c commit 0444c6d70fffc6505749a528d808a00b49ab0e75 Author: Boris Smilga <boris.smilga@gmail.com> Date: Wed Jul 3 23:20:40 2013 +0400 Corrected arglist in call to sendfile() for FreeBSD. commit 83041da940e923efcb0967c4fe11c1725c4c9804 Author: Boris Smilga <boris.smilga@gmail.com> Date: Wed Jul 3 23:16:55 2013 +0400 Fix for inaccessible definitions of NSIG and SIG_HOLD on FreeBSD. commit 6a4a68e7c577183f0cd760cd6ef5b464b801eb5a Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Mar 9 02:23:41 2013 +0100 Add configuration file for Travis-CI create mode 100644 .travis.yml commit 27063c6c1052f6e8efdc35b654d2e85d6d8a2950 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Mar 9 02:23:30 2013 +0100 Run tests in the .spec file commit 33d0a3365e9f911752a79229a2759a820892713c Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Mar 5 16:17:37 2013 +0100 Release 0.3.0 delete mode 100644 pkg/debian/libfixposix1.install delete mode 100644 pkg/debian/libfixposix1.symbols create mode 100644 pkg/debian/libfixposix2.install create mode 100644 pkg/debian/libfixposix2.symbols commit d88b1aa6726024a5d880fb74d09e96b33c654512 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Mar 2 20:57:52 2013 +0100 Rename build/ -> config/ delete mode 100644 build/m4/ax_pthread.m4 delete mode 100644 build/m4/custom_checks.m4 delete mode 100644 build/m4/utils.m4 create mode 100644 config/m4/ax_pthread.m4 create mode 100644 config/m4/custom_checks.m4 create mode 100644 config/m4/utils.m4 commit 88eb09b2556cbe78d415c6c60b96893e16c22e88 Author: Jason Miller <aidenn0@geocities.com> Date: Wed Feb 27 13:36:08 2013 -0800 Implement in-process PRNG for mkostemp Instead of using /dev/urandom, use an in-process 32-bit xorshift. The xorshift is a very fast but not particularly strong PRNG with a period of (1- (expt 2 32)). It has only a single 32-bit word for seed data, so that multithreaded code should play very nicely on CPUs that can store those atomically. For CPUs that cannot, it should still be safe, since it can recover from any value in the seed. We reseed from the pid and current time when we hit a collision. This is necessary for code like this to not be slow: mkstemp(...) fork() mkstemp(...) since the child process(es) will inherit the seed of the parent and collide a lot otherwise. create mode 100644 src/tests/mkstemp.c create mode 100644 src/tests/mkstemp2.c commit 0d07b344e3c0105ef34ce791e4e8da03b74444a7 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Mar 1 02:23:15 2013 +0100 Require ptsname(), remove workaround commit 1c17c11d2f5c69e7d9a99a68e985dca9434716b2 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 23:26:53 2013 +0100 Include sys/signalvar.h directly commit fa94b2ea19ac128df2540336efea65c8be7f889e Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 23:21:51 2013 +0100 Add include for OpenBSD commit 64954bbeaa9d2b2418215a2cc7a6268ff3fcc667 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 23:16:49 2013 +0100 Add include for OpenBSD commit eaf5521ddc3cb8443e33f5abb9607ef36af14fd7 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 23:14:19 2013 +0100 Whitespace commit 91379008e927359f853388ad44528b72742b8a06 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 23:14:14 2013 +0100 Move lfp_getpeereid() to socket.h commit 00dfbb6c8106f5022c84c977dfa3bc2c66534d14 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 23:11:03 2013 +0100 Add include for OpenBSD commit 5d656ccf8732390b8c38ba051696db109daace4b Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 23:08:56 2013 +0100 Fix declaration for lfp_ptsname() commit e1f418a6e32a51e280bb3ca7755f77ccf98d6f9b Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 23:04:43 2013 +0100 Fix typo commit 946b19aa3bd432a4fe6acb080b35fae0bbbcf0fb Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 22:59:59 2013 +0100 Incompatible change: make lfp_ptsname() wrap ptsname_r() commit e5a06d7e0148c106182a639d2fbb4769761e420f Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 22:41:44 2013 +0100 Add missing include for OpenBSD commit 09bf4311a97f281b20cd48c1f07c9e72f577320c Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 22:12:56 2013 +0100 Make pselect() optional, fallback on select() commit 46a88ff7db9d30d9e56aae9eab2a5b5ef5f0ab3a Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 22:07:04 2013 +0100 Don't define _XOPEN_SOURCE on OpenBSD commit ba0e0304102c2c45b12a0dc555fd6ce8706ca37c Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 21:28:47 2013 +0100 Fix OpenBSD CFLAGS commit fdfb33f60a9b377bbc2bf6535ab06da47d726ebb Author: Jason Miller <aidenn0@geocities.com> Date: Wed Feb 27 09:39:46 2013 -0800 Fix backwards check in lfp_mkostemp This went unnoticed because until a3f1a9b2d64dcb lfp_mkstemp was using mkostemp instead of lfp_mkostemp commit fe3a532e1ee29e6961f78869465530833ec3af2a Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Feb 27 20:05:27 2013 +0100 lfp_mkostemp: avoid leaking the random source file descriptor commit a3f1a9b2d64dcbc783bd64d4e199290af19fc220 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Nov 19 17:54:05 2012 +0100 Fix typo: lfp_mkostemp not mkostemp commit 6323282b2a778f5c5f6be2fb90d2491fef7982a5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Nov 19 17:53:51 2012 +0100 Include stdlib.h for OSX commit 2382476950013d91180a577249851f3036617d6b Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Nov 19 17:16:39 2012 +0100 Move macro checks up, seems to fix OSX bug commit b7478b1aafd4de63cf984c1a414367f36da97726 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 6 19:18:55 2012 +0200 Make the includes C++-friendly again, "template" is a reserved keyword commit f2d299ebffcd56c640a43092704a2d1728023f42 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Aug 15 01:01:37 2012 +0200 Style fix commit a738e2bb4c3ebef9412aae2e083bc220839a69c2 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Aug 14 22:05:07 2012 +0200 Use plain strlen instead of pathconf+strnlen Bug found by Coverity Scan commit cccb9521461f263c577666cfd03d3422ebbbbb17 Author: David Lichteblau <david@knowledgetools.de> Date: Tue Mar 15 15:54:35 2011 +0100 ioctl.c needs termios.h for TIOCSCTTY commit 818592dbd7563461f7e67593db03d60bb869ffac Author: David Lichteblau <david@knowledgetools.de> Date: Tue Mar 15 15:53:39 2011 +0100 Use gcc-specific __attribute__ only on gcc commit 7fb0c13db6d386323aa79375e6013d2374dd8c24 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Aug 14 04:44:11 2012 +0200 Add lfp_mkostemp() commit 3e6f67ad5fa3334ac270489eb95727064a98c30a Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Aug 14 04:36:11 2012 +0200 Fix typo commit 88835d011b82b64806d9b949d1a7c3e7831907e1 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Aug 14 04:31:06 2012 +0200 Implement mkstemp() instead of wrapping the system-provided instance In addition to POSIX mkstemp(), lfp_mkstemp() opens files using mode 0600 and O_CLOEXEC commit 37a17470f9d9b447f7af9f1b151c06759e79e60c Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Aug 12 00:18:56 2012 +0200 Fix file-descriptor leak in LFP_SPAWN_FILE_ACTION_OPEN Bug found by Coverity Scan commit 3506c9e22779e9804e3012747f1eb2d96352490b Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Aug 12 00:17:18 2012 +0200 Add macro GET_ERRNO commit a7a43d73a208c6c35f5c189fba1119211d69e211 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Aug 12 00:16:36 2012 +0200 Move macros used in just one file to the place of use commit d3deb3617c846cf4d16fced7cdf2891acd274142 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Aug 12 00:15:17 2012 +0200 Fix licence name in .spec file commit 5251d5010f5f126eff042062da90ab9501bcdaa1 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 27 16:00:51 2012 +0200 LFP_REQUIRE_HEADERS and LFP_REQUIRE_FUNCS now report the precise missing feature commit 566c615211c760c7e553569e716132cb7416b3af Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 27 13:44:11 2012 +0200 lfp_parse_memsize now returns int64_t On some systems ssize_t is 32-bit, so use int64_t commit f32c6e3dd20a1b5bd01554881f6bb11aa5319a1c Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 27 12:42:27 2012 +0200 Allow make check to complete if tests disabled commit 3402a170fb209fbe76197537051070ff6603c397 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 27 12:42:03 2012 +0200 Disable test suite by default commit 10401a33154a793e630b3bbd0f380c320f5f3c70 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 27 12:29:37 2012 +0200 Make test suite optional commit 827c3e0f9ac4d1acc97e8de4e64a9b11d8d25f15 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 27 12:29:19 2012 +0200 Move test suite check at the end of configure.ac commit 4f071921458598aa6a41869d2437759a0b3f48dc Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jun 26 21:29:56 2012 +0200 Update Debian build files create mode 100644 pkg/debian/libfixposix1.symbols commit b4102dd0fd0c86be7930812744b6477ef2014859 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 13 16:53:06 2012 +0200 Release 0.2.4 commit 498b1eb9ba4c2071c5a5d0ce0dc1170b3b00e5c2 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 13 16:44:56 2012 +0200 lfp_tty_attach: fix FD leak commit cb0c9739e8191b075d5a6df07b28e1cecc7d2f07 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 13 16:08:30 2012 +0200 Release 0.2.3 commit b2d4bbf89f9012ee1f7d419118bdfc18445ad1c9 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 13 15:48:55 2012 +0200 Add lfp_tty_attach() and lfp_tty_fattach(), use for LFP_SPAWN_SETCTTY create mode 100644 src/include/lfp/ioctl.h create mode 100644 src/lib/ioctl.c commit 19d380ed46c7d496dd064c83d5ce871db36b07ed Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jun 13 15:47:34 2012 +0200 LFP_SPAWN_SETCTTY requires LFP_SPAWN_SETSID commit 298c28bdb2b82e67813c90529c579e9011105392 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed May 30 18:30:13 2012 +0200 Update Debian control file to standards version 3.9.3 commit a89fcaebf3eb0f1f52e7169c565223e27370de25 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed May 30 18:10:07 2012 +0200 Release 0.2.2 commit a7f6b75a6cddd42ea093382b1ad4ca56424eb4b4 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed May 30 18:09:42 2012 +0200 FreeBSD: define __BSD_VISIBLE to access OS-specific syscalls commit 5535ff0c74e57cf421427ca90a8381ad0285b4f5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed May 30 18:08:39 2012 +0200 Add RPM .spec file create mode 100644 pkg/libfixposix.spec commit 1f062e03967daeefc000a37d4ed5909bee04e801 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat May 5 22:12:22 2012 +0200 Mention dependency on check in the README commit 3e7320d45c96f80c3485894994af8dcf080f807c Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jan 31 15:55:01 2012 +0100 Fix comment commit fcccf7da9e95b0aedce456bde86b8cd1702411a0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 16 01:58:45 2012 +0100 Use AS_IF in configure.ac commit 0e5af8990a65436e3f9aeb1feec1af0c0615ae9e Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Dec 24 21:55:34 2011 +0100 Fix tests: proper signature of main() commit 2a9a4d10fbf7f2274600135efffee4ffc3ca303a Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 5 00:23:16 2011 +0100 Shorter lfp_strndup() commit ad16360eca33fa470f48db25191eb6f87460accd Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Dec 4 23:53:56 2011 +0100 Remove stray include commit 9e26bfe78de36475ed63843057815b1669945cdc Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Dec 4 23:39:22 2011 +0100 lfp_getpath() now accepts NULL meaning the global environment commit 2746c16c55ec5154b5c5c7004651bc880b0fd527 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Dec 4 23:38:52 2011 +0100 lfp_getpath() now does some minimal checks returning the default PATH if they fail commit 6fb5419812e8fdb235fca7c48bd0b8ec245970bf Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Nov 26 00:34:33 2011 +0100 Update Debian build rules commit 67fbca458b2148e5e47b901c84a260977636298f Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Nov 25 23:04:53 2011 +0100 Release 0.2.1 commit 55519ea232e5b101a6bfafd6d4c9c261f3431196 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Nov 25 18:30:36 2011 +0100 Add lfp_parse_memsize() commit 00091d546de15f1dabb66ca15ecaca968d35400b Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Nov 25 18:28:22 2011 +0100 Save compile flags properly during tests commit e35fd7796b8adcdd31bfff47ce527838d87c84fc Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Nov 25 18:27:48 2011 +0100 Define LFP_* flags later during configure commit 713715d79c4a88786c2152662c0fefd84f200095 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Nov 25 18:27:08 2011 +0100 Syntax and standards-compliance fixes commit de86d848a2650b84bbf3125efdaa0f8d20bb8228 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Nov 25 17:42:55 2011 +0100 Cosmetic change commit 8207ae684a1c7d2990b0f6f8968d354f28951afb Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Nov 14 15:57:15 2011 +0100 Release 0.2 delete mode 100644 pkg/debian/libfixposix0.install create mode 100644 pkg/debian/libfixposix1.install commit 2278294c29bc10d99ec182daaefe076837d66fa5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Nov 14 15:05:13 2011 +0100 Add dependency on check >= 0.9.4 to Debian rules commit 1037b58fb6c26091a5dc9829a6d8b4fa34d1abab Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 9 00:24:28 2011 +0100 Add dependency on libcheck for the test suite commit 6a8d158e1c50046b55a8043c75a3165e95b4d6b5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 2 14:01:49 2011 +0100 Cosmetic fixes commit 5722fc4ca3544bc834da5c88906ecf831fef87d3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 2 14:01:43 2011 +0100 Fix typoes commit 3ee0434f21da842a88182bcd4d1cedf35efc6003 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 2 14:00:46 2011 +0100 Mark symbols hidden by default, add explicit exports commit 0e083eb797341e9924b89d2888d0aa740c790b2d Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 2 13:58:41 2011 +0100 Auto-include config.h, split utils.h into macros.h and inlines.h create mode 100644 src/lib/aux/inlines.h create mode 100644 src/lib/aux/macros.h delete mode 100644 src/lib/utils.h commit 53286415d93f1568791f3a0c45005efc838ab191 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 2 13:53:09 2011 +0100 Bring back __xpg_strerror_r commit 07437f27a108e83f5e53a83d78f66675a579df89 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 2 13:51:55 2011 +0100 Move library auxiliary files into src/ delete mode 100644 libfixposix.pc.in delete mode 100644 src/lib/libfixposix.libtool create mode 100644 src/libfixposix.libtool create mode 100644 src/libfixposix.pc.in commit aba83d802b3813f94ce0a5e3c947413d0a4f8128 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Oct 9 21:45:34 2011 +0200 Enable threading extensions on Solaris commit f88eb0d7d7b8e731be35a3e8ccfd5845f660430d Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Oct 9 19:55:44 2011 +0200 Quote shell variables in Autoconf macros commit 20f181fd5b7f698b8f8aadf0cc5bdd0e5377f9c3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 8 23:09:27 2011 +0200 Add comment commit 6a3db9ca4e92e1321ffb3ee66be1d7c5cb7540c8 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 8 02:52:33 2011 +0200 Remove stray SYSERR(ENOSYS) from lfp_getpeereid() commit df806c3809ca23e06f956e68dcea8d84a8a3121f Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 8 02:28:01 2011 +0200 Allocate ucred_t on the stack commit 221165f851233fc3d1ace447c646c45d93086f44 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 8 02:13:10 2011 +0200 Add lfp_getpeereid() commit d89bd52f8d28ac3e26966f6eccfc9dc7c4b98176 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 8 00:58:52 2011 +0200 Shorter check for OSX commit 6a9dd55a1beb28a9809a27b0139d2037862cde8b Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 8 00:56:51 2011 +0200 Fix typo commit 2c504e4c19cf4f46180e2f29c568457585e222d0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 26 18:50:54 2011 +0200 Fix typo commit eaede0999e28f6105dfcaf3945fe2f551935d23a Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 26 18:49:51 2011 +0200 Declare the main language to be C commit 816f5abf5c4061ccbe2d5b2091bc7574591dad62 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 26 18:49:41 2011 +0200 Check for sys/signal.h before using commit 8b9e92ab621dbd3b689c3022d54d04d636748a30 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Sep 25 23:17:26 2011 +0200 Make lfp_wifcontinued() return false if WIFCONTINUED isn't defined, like on NetBSD 5.1 commit 1857a445d36936603725610b49be924a37ea7c96 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Sep 25 23:07:39 2011 +0200 Various fixes for NetBSD commit db275ac74865e9ae53f62fce591ccd5c0b8abfa8 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Sep 24 23:07:51 2011 +0200 Add checks for OSX Mach features commit 9b51f1a213fbfe05fc05171f81b5d46fdddc7014 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Sep 24 23:07:27 2011 +0200 Don't define _XOPEN_SOURCE on OSX commit 5334801bb5a812ddab93cbb6a61a3d7ade8ac2cc Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Sep 24 23:06:50 2011 +0200 Check for NSIG in sys/signal.h too commit 1f083bc4c26ad050f8df609883c7b6109fd51eae Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Sep 16 02:13:15 2011 +0200 The second argument of lfp_execve() and lfp_execvpe() too must be non-NULL commit 2ec4e1478e217c78b202afca40080606ff78a90c Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Sep 16 02:12:40 2011 +0200 Use execve() instead of lfp_execve() in lfp_execvpe(), so as not to check arguments twice commit cb4af92226b60201c008c972bbdbce1cf16a8f7e Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 15 22:49:02 2011 +0200 Add lfp_set_environ() commit 2800c63ca413783eb84beafcf2b612d775739d8c Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 15 22:48:50 2011 +0200 Add lfp_clerenv() commit 964ab02644a380afd30312e78158cd55dc5411a6 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 15 18:50:20 2011 +0200 Cosmetic changes commit 3b54169a2aaa7b2d7298a4788cb0a1501cbb86e6 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 15 18:40:01 2011 +0200 Use strtok_r() instead of strsep() commit 431a7134e2b2e5b7550c5ce4bc00030ac66a4c27 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 15 18:24:09 2011 +0200 Add libnsl to search list for socket() commit ce83a6a8502f95a1a830075e3f7cfefe33b24839 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 15 18:19:03 2011 +0200 Use LFP_SEARCH_LIBS to search for socket() commit b764f9d435580d9479b4c7402d7a2a42eae45e4e Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 15 18:18:49 2011 +0200 Use LFP_SEARCH_LIBS to search for clock_gettime() commit 9aa77b5ce2f5bc8db5f17f731d3c49ecd993d0fb Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 15 18:18:29 2011 +0200 Add LFP_SEARCH_LIBS commit b5645c32f97c94e160c80942942b9c66751c4538 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 15 18:17:37 2011 +0200 Replace AC_CHECK_FUNCS_ONCE with AC_CHECK_FUNCS commit 55e56d2754e8911bdb2f5a877f676527cc7b76ac Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Sep 9 15:29:50 2011 +0200 Fix lfp_spawn() test: use lfp_get_environ() instead of environ commit e7955233d0965d8525b775cf429278eda8910260 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 8 17:35:44 2011 +0200 Require program getconf commit dbeb89cd620284df1866fc26466605fec48476d3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 8 17:02:46 2011 +0200 Add Debian watch file create mode 100644 pkg/debian/watch commit a9735871a51fc5ffe82bdc90174f038ab9036499 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 8 16:42:59 2011 +0200 Print some useful information at the start of configure: build dirs and build flags commit 574a8e59f05c9088e25b29df3d5d0d6277693d2e Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 8 16:42:04 2011 +0200 Move warning about $builddir up commit e3f6537c010d32195ba60f7edd4798ae20990f2c Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 8 16:13:11 2011 +0200 Move all build-related files to build/ create mode 100644 build/m4/ax_pthread.m4 create mode 100644 build/m4/custom_checks.m4 create mode 100644 build/m4/utils.m4 delete mode 100644 m4/ax_pthread.m4 delete mode 100644 m4/custom_checks.m4 delete mode 100644 m4/utils.m4 commit b1bb0bb88157d9ade59ebae980e419f8de2b3122 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Sep 7 17:05:06 2011 +0200 Fix the pselect-less branch of lfp_select commit 16a4a9295440c4b57bcfce319560e2108443e3af Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Sep 7 17:01:56 2011 +0200 Declare as constant the first argument of time struct converters commit 3fe89c293a4262b66567deed2757802d1a9708f8 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 6 23:57:31 2011 +0200 Better detection of non-C99 users in aux.h commit 18377acf570e724e3f44b9e2983b1c96bb7f093a Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 6 23:48:47 2011 +0200 Rename CPLUSPLUS_GUARD -> LFP_BEGIN_DECLS, END_CPLUSPLUS_GUARD -> LFP_END_DECLS commit 997cb5e2a459f10bb0daaa8a4b0e2923e876cf5e Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 6 23:32:44 2011 +0200 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 create mode 100644 src/include/lfp/strerror.h create mode 100644 src/lib/strerror.c commit 604dd2e1e580ca22643919756b9c8b72612c5396 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 6 20:55:45 2011 +0200 Revert "Don't use += in configure" The configure script checks that the shell supports += so it's safe to use This reverts commit efdc08afef2b6da64f0d7167133bb313e92ef494. commit 7c4846e5704861641034993116a9a7664a178f31 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 6 02:07:32 2011 +0200 Add Debian build rules create mode 100644 pkg/debian/changelog create mode 100644 pkg/debian/compat create mode 100644 pkg/debian/control create mode 100644 pkg/debian/copyright create mode 100644 pkg/debian/docs create mode 100644 pkg/debian/libfixposix-dev.install create mode 100644 pkg/debian/libfixposix0.install create mode 100755 pkg/debian/rules create mode 100644 pkg/debian/source/format commit efdc08afef2b6da64f0d7167133bb313e92ef494 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 6 01:34:38 2011 +0200 Don't use += in configure commit d1f8d7b2e739df0379ed73c8c4d0111a6fcafb87 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 6 01:34:03 2011 +0200 Don't install config.h, rather use AC_SUBST to hardcode flags in headers delete mode 100644 src/include/lfp/time.h create mode 100644 src/include/lfp/time.h.in commit 841142d8b4a5647afd0699d475eac94e703aa2ed Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 23:31:07 2011 +0200 Add header guards to config.h commit 83e5d955afd2328ba15717607ff2c7a08c969093 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 23:30:53 2011 +0200 Add LFP_REQUIRE_PROG, use it to check for getconf commit 86fa9dc492af87a5936f03d075fb842e04632768 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 23:04:46 2011 +0200 Add copyright to configure.ac commit d1b6a4c5de27c6de90e44034772714e3f7d82f21 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 23:04:30 2011 +0200 Cosmetic change commit a8ab5a9a1cc684784abcab9446cef7903ab9aa6c Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 23:04:22 2011 +0200 Better check for clockid_t commit e0f167b602125f677dd3b7795effc9c759fafa0c Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 23:03:57 2011 +0200 Ensure that proper CFLAGS are used during feature tests commit 874ec62356b59967c97e377235a6cb3c09c67e1c Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 23:01:58 2011 +0200 Install config.h, change lfp_clock_* functions to use clockid_t commit d401c40c8c49e4f79afa4366c4b1b8f5955ae0c2 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 19:56:17 2011 +0200 Add lfp_get_environ to unistd.h commit 5072c3c5d5bbd0774c3f1b7722dd00a745493b2a Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 19:02:16 2011 +0200 OSX 10.7's ld doesn't support --no-undefined, remove it commit 1bf4043155750d6dc9ffcf94ea64f07a36b3cd14 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 19:01:36 2011 +0200 Add definition of sendfile for OSX because _XOPEN_SOURCE hides it commit 24a1ef8d60b62fae1cd8541edc3a94222e2c76ff Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 19:00:19 2011 +0200 Check for NULL timespec in clock_gettime and clock_settime commit cf47f101728df7c063142b4c26c82f59850a53af Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 18:28:26 2011 +0200 Re-implement clock_gettime emulation for OSX commit f28098215aac1d2b1095ed673d7bb646156a0712 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 03:32:25 2011 +0200 Link with realtime libs and ensure that linking doesn't succeed if there are undefined symbols commit 694486683922d366e89ce3c8709af8c1db0ddb70 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 03:05:04 2011 +0200 Rewrite configure check for a monotonic clock commit 82fe4694e6ed206b0eae7ef6fc88e996287a1a2e Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 03:04:12 2011 +0200 Cosmetic fixes commit 32df97491e64269d88532be59482ba2726b53563 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 5 03:03:31 2011 +0200 Fix default CFLAGS on Linux, BSDs and Solaris commit 5b21a4d3c8029e9c8f0fa2ec40fa69af25bd66e8 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Aug 23 20:27:46 2011 +0200 Include sys/socket.h before netinet/in.h in IP_HDRINCL check OpenBSD won't work otherwise commit e31e7f515e2f09ae99149c1570f7048fb4f40e28 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Aug 23 20:26:47 2011 +0200 Rename LFP_REQUIRE_DECL to LFP_REQUIRE_DECLS, expand to AC_CHECK_DECL commit 0c0f74d95c17214e2daf1d8fe3a74aad9ad415f1 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Aug 23 20:17:20 2011 +0200 Make LFP_REQUIRE_TYPE and LFP_REQUIRE_DECLS accept multiple headers in the same test commit 5d58ed2e7a240347a92112e87d7c9301fbf26c27 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Aug 23 18:08:24 2011 +0200 Distribute LICENCE too commit ecddfd60d3249a92582a5cc7fd6e3fa932a52b59 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Aug 20 13:30:33 2011 +0200 Cosmetic change commit 520c8e81028d37a524b052c200cbae59527b16bf Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Aug 20 13:28:57 2011 +0200 Include sys/types.h to fix compilation on FreeBSD commit d3985ce5001f142773980be0041f9dbecae978f6 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Aug 20 13:28:21 2011 +0200 Use strdup() to copy paths instead of using PATH_MAX-bounded strndup() commit 34c286903c3822a958b565d8f77ce18f86c88f94 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Aug 19 11:00:49 2011 +0200 Add libfixposix.libtool to EXTRA_DIST commit 8623127a96c30560442c90cddbc64cb861c644b0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Aug 19 10:54:16 2011 +0200 Rename must -> should commit 39fba7f8e62f2eafc106ef2dbd1b11d7f1f33d25 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Aug 19 10:45:55 2011 +0200 Just warn about the build directory It seems that the Debian build system cannot work otherwise commit 3d94c688ba050f481f33e0e27caa48c82bb37208 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 15 21:01:01 2011 +0200 Enforce the use of a separate build directory commit 9d8ddc8d68d4bb83644c36ae8b2786489cff6eef Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 15 21:00:47 2011 +0200 Check for stdbool.h commit c08e858e55ee02faad16555b596a306c89ddce2a Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 15 21:00:22 2011 +0200 Fix Autoconf initialization commit a14b078cda880d59f70abcfb3973c2c06c9eccc7 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 15 20:59:54 2011 +0200 Check for functions only once commit e0ed9bd46812a88c3d85dc524efd968f9f597aba Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jul 25 22:34:49 2011 +0200 Fix libtool requirement: 2.2.6 is sufficient commit b8d4916489cbe9771e93037ea003a9a81ac4018a Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jul 24 18:47:55 2011 +0200 Require IP_HDRINCL commit cf6e95482d6433464e6d022384a7896a4bb29026 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jul 6 18:05:26 2011 +0200 Start library versioning create mode 100644 src/lib/libfixposix.libtool commit af5d833c55ac7afc0848d258a64efca1651251c2 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jul 6 18:05:02 2011 +0200 Require libtool 2.4, initialize it better commit 47f17f77a6689dc9c12e2a22f112f9378f25cc9b Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Mar 16 17:32:53 2011 +0100 Add type cast long->size_t commit 899c639fb540214465e1e7794dd8555471bd54df Author: David Lichteblau <david@knowledgetools.de> Date: Tue Mar 15 15:54:54 2011 +0100 Prefer pathconf(_PC_NAME_MAX) over NAME_MAX commit f32226ff9f070fda25e3d4262a148415b5b6bf3d Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Mar 16 01:14:13 2011 +0100 Fix typo commit 81c8724f696e820f35e00489303fdcdfcdf5ac03 Author: David Lichteblau <david@knowledgetools.de> Date: Tue Mar 15 15:51:31 2011 +0100 Use old-style #ifndef instead of #pragma once commit 42a44c2427b4915509b618e2984d39053a88dbe1 Author: David Lichteblau <david@knowledgetools.de> Date: Tue Mar 15 15:54:35 2011 +0100 spawnattr.c needs termios.h for TIOCSCTTY commit 5d8cdae7fa08f4ff8e2c244df8268537c5f6bb0d Author: David Lichteblau <david@knowledgetools.de> Date: Tue Mar 15 15:48:51 2011 +0100 Add a LFP_CPPFLAGS rule needed for headers on *-solaris* commit 29e24fc7262b5b4b702918b52d94471acc8fff17 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Mar 15 17:06:52 2011 +0100 Remove all -W flags from AM_CFLAGS commit bcaef6ac3862cc14d6b2982b554fa62bd30478f1 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Feb 3 21:29:53 2011 +0100 Rename lfp_fd_is_open -> lfp_is_fd_open commit 7136ad707f289c69a9bd7353da28c6a85dcd9157 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 30 00:21:11 2011 +0100 lfp_spawn: apply default process attributes when not specified commit c9e5ce94388b508550a9bfec088dd9ed435fabff Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Jan 29 21:08:16 2011 +0100 Fix segfaulting bug in _lfp_getenv() commit dd4d94204989c015ab9ce041d3654e76f603520b Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Jan 29 21:07:40 2011 +0100 Style fix commit a9828e89845812352e0817f4089087f531b85b23 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Jan 29 21:07:31 2011 +0100 Initialize pointers to NULL commit 208fd44f0e38b23351f9d7d9e5a36bcbcd877246 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Jan 29 21:07:11 2011 +0100 lfp_spawn_apply_file_actions: noop is argument is NULL commit b757bf329e1d4edbf12da06b15919d1e54011d65 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jan 25 22:42:45 2011 +0100 Fix copying sigset_t values commit d6228039ced83a1aebf7e040be7df15d559ab4da Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jan 25 20:23:48 2011 +0100 Free pts_path in lfp_spawnattr_destroy() commit 65963c7f04ad552efbb1da3c6e21e2e491b218b1 Author: David Lichteblau <david@lichteblau.com> Date: Tue Jan 25 20:15:41 2011 +0100 Add lfp_spawnattr_setsid and lfp_spawnattr_setctty commit a4e8d4cfe350ecbf5f8f3a45c96ea5a2c530cc58 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jan 25 18:41:27 2011 +0100 Add lfp_openpt() commit 322c94c456e167eaf9a362422edb8aafa642361d Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jan 25 17:28:42 2011 +0100 Replace multiple returns with one GOTO commit 7b58a0d5189af7cadbdd3f7e9f2473e43c91893b Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jan 25 17:08:04 2011 +0100 Add lfp_ptsname() commit f8103ec509298b632ac47502a1f7f5198f95c532 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jan 18 00:22:37 2011 +0100 Add macro SYSGUARD, use it commit 90b8df89ab5ed5dab7789a1e70d8a4b94f795452 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jan 18 00:22:13 2011 +0100 Fix previous commit: tp is already a pointer, don't take its address commit 6e076b1af7446b3f83c5107fd107ac626bcb6563 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jan 18 00:16:20 2011 +0100 Move mach_timespec_t conversion code to utils.h as inline function commit ea037a5cf762a21addb1573335e5fbd946054677 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jan 18 00:06:58 2011 +0100 More OSX fixes commit bb6f8842511c3cf665d5ebdbcb6e87474bb1bf92 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 17 23:35:31 2011 +0100 Fix OSX detection: use __APPLE__ instead of __DARWIN__ commit d2efbc35be628b60062173f092aeccb95bdba95a Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 17 23:20:19 2011 +0100 Replace uses of strndup() with lfp_strndup() commit 3a6cf36f97c6f810e38e4a6bd21241ae071f2590 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 17 22:24:22 2011 +0100 Fix lfp/time.h as well commit 2e809d7481efe59fddfccaa30a5dbb4a16da1063 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 17 22:20:42 2011 +0100 Better detection of POSIX timers commit f8b9627e971c0a0a437d722fc09f6f80202fa1a3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 17 21:33:19 2011 +0100 lfp_strndup: copy only the necessary commit 86466c5f841ca10a0dce61a470289cbf191c1064 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 17 21:32:18 2011 +0100 lfp_strndup: set the final octet to 0 commit 9c00c57598676519509f0a41d5b2b6fa31067f19 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 17 21:29:14 2011 +0100 lfp_strnlen() uses the system strnlen(3) if available, add lfp_strndup() commit e8cb2a549baf88d98d57bcb9b9124381f59a4c7f Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 17 14:36:51 2011 +0100 More #include fixes for OSX commit 0d061e1a0c759861bbd274782de2e344de1849af Author: Desmond O. Chang <dochang@gmail.com> Date: Fri Jan 14 19:13:00 2011 +0800 Downgrade autoconf dependency to 2.67 commit b89b37945a7c68b822c9b661a1e784780c592093 Author: Attila Lendvai <attila.lendvai@gmail.com> Date: Thu Jan 13 14:50:20 2011 +0100 Fix typo commit 349afb5a6e509e38fd6280fde3fb571f78f185d8 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 10 16:55:19 2011 +0100 Hide auxiliary files directory commit 03b8d3efa7afe1fe548115ee8ce0e51ed74961bd Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 10 16:51:16 2011 +0100 Pass a file not a directory to AC_CONFIG_SRCDIR commit 2684fca5fe12a1db675e02cc692ea76932de1430 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 10 16:19:02 2011 +0100 Update configure.ac commit a7572f4c8de3ba74548eb6e0e8eb2df71201fea3 Author: Desmond O. Chang <dochang@gmail.com> Date: Wed Jan 5 06:55:45 2011 +0800 Add NULL declaration commit e74346a031a39d34dfdb5a0669c655982d038202 Author: Desmond O. Chang <dochang@gmail.com> Date: Wed Jan 5 06:42:04 2011 +0800 Fix compilation instructions commit a174f5df529d1fbf360ff3302d2fe7e09a3abc1d Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jan 3 14:14:21 2011 +0100 Shorten code commit d78cf5f119ffd9925854b9c1875ea1b09ad0edac Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 2 03:40:58 2011 +0100 Change macro VALID_FD to INVALID_FD Better use a positive test, rather than a negative one commit 87c74ca8ebc0c082fb04d26182bcc98e992a50f0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 2 03:38:14 2011 +0100 SYSERR now sets errno directly, rather than using lfp_set_errno() commit 0d8bb6ebcc04f03bbaf5568b6eae744fbf38f4c6 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 2 03:34:48 2011 +0100 Remove last argument of lfp_select() commit a4ead41e4f11cf2864f325040c75e2e215052861 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 2 03:33:38 2011 +0100 Trim includes commit 8007c874c85753d92439bfa00a79c2b249348b94 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 2 03:33:06 2011 +0100 Move the two functions in utils.c to utils.h as inline delete mode 100644 src/lib/utils.c commit 1ce91c0e67131fc1cfd1e43501c876835fed6f35 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jan 2 00:55:50 2011 +0100 Aff lfp_spawn() attribute CHDIR commit 4705e0d1b611745ebaacc24c9bb49af05111384d Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Jan 1 18:46:17 2011 +0100 Add missing includes commit 2e89e33db3c88ce15dc83b206cd6ab031928d62a Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Jan 1 00:34:28 2011 +0100 Yet another fix of a fix commit 1e8ad4842066bf48431c4bd2ad73204e4c99854e Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Jan 1 00:28:47 2011 +0100 Fix last fix commit ae3799ff4eea53e55d621e78a1ffbaaeefa3c498 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Jan 1 00:24:00 2011 +0100 Yet another attempt to fix checks for OSX commit c4a037f2911baa6f169d7ebd36bf0ab577585892 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Dec 31 23:41:16 2010 +0100 Fail getconf checks also if it returns "undefined" commit e3288f9c3c2573ec53770d03af46c658e699b839 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Dec 31 20:22:14 2010 +0100 Try to fix configure.ac for OSX commit 626ea28bcf63869538a491755c3abdee17b89cf4 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Dec 31 01:58:09 2010 +0100 Clean configure.ac up commit fe5c3b1cd934bd90f4ec9cc1ef1c67e50222d1b2 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 18:18:50 2010 +0100 Fix typo commit d1ee536c96b8a2f7372daf71014fa19402710959 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 05:47:55 2010 +0100 Fix spawn.h commit 3aaba292e61dfa24703220d352fdbc6e6a31b572 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 05:37:18 2010 +0100 Rename LFP_ENSURE_* M4 macros to LFP_REQUIRE_* commit e323935911a9e71758800224e7671f47c0a43846 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 05:36:01 2010 +0100 Move largefile-specific code to LFP_SYS_LARGEFILE commit 74c38454d28a57ec21cbf1c0936454db30f7d062 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 04:46:26 2010 +0100 Use config.h commit 6246b4e6b02339016a7c4e4a9aa4b0f41855879a Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 04:01:57 2010 +0100 Trim down headers commit 6c17e65aaa139d7b9fb989596e183849de95361c Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 03:51:18 2010 +0100 Include fcntl.h in spawn.h in order to make available the open() flags for lfp_spawn_file_actions_addopen() commit f98b625a27cd3a9b895822295b9395d6a51ccd9f Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 03:49:04 2010 +0100 Slight improvement in lfp_execvpe() commit fbbb9883b2599d08dc82d990b90f21a0b39cdeb3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 03:42:18 2010 +0100 Comment commit 7daef0708f595f9d53919ef52f141e5c26dc906b Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 03:28:56 2010 +0100 Move *stat functions from unistd.c to stat.c create mode 100644 src/include/lfp/stat.h create mode 100644 src/lib/stat.c commit 34e5ec777f8ad938b8509b0593cd13708f6f2a44 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 03:20:09 2010 +0100 Move lfp_getpath() to stdlib.c commit dd1be5589bf6a7467253ca233602882d5fe72b10 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 03:16:53 2010 +0100 Rename libfixposix.h to lfp.h, the include directory as well create mode 100644 src/include/lfp.h create mode 100644 src/include/lfp/aux.h create mode 100644 src/include/lfp/dirent.h create mode 100644 src/include/lfp/errno.h create mode 100644 src/include/lfp/fcntl.h create mode 100644 src/include/lfp/mman.h create mode 100644 src/include/lfp/resource.h create mode 100644 src/include/lfp/select.h create mode 100644 src/include/lfp/sendfile.h create mode 100644 src/include/lfp/signal.h create mode 100644 src/include/lfp/signalfd.h create mode 100644 src/include/lfp/socket.h create mode 100644 src/include/lfp/spawn.h create mode 100644 src/include/lfp/stdlib.h create mode 100644 src/include/lfp/string.h create mode 100644 src/include/lfp/syslog.h create mode 100644 src/include/lfp/time.h create mode 100644 src/include/lfp/unistd.h create mode 100644 src/include/lfp/wait.h delete mode 100644 src/include/libfixposix.h delete mode 100644 src/include/libfixposix/aux.h delete mode 100644 src/include/libfixposix/dirent.h delete mode 100644 src/include/libfixposix/errno.h delete mode 100644 src/include/libfixposix/fcntl.h delete mode 100644 src/include/libfixposix/mman.h delete mode 100644 src/include/libfixposix/resource.h delete mode 100644 src/include/libfixposix/select.h delete mode 100644 src/include/libfixposix/sendfile.h delete mode 100644 src/include/libfixposix/signal.h delete mode 100644 src/include/libfixposix/signalfd.h delete mode 100644 src/include/libfixposix/socket.h delete mode 100644 src/include/libfixposix/spawn.h delete mode 100644 src/include/libfixposix/stdlib.h delete mode 100644 src/include/libfixposix/string.h delete mode 100644 src/include/libfixposix/syslog.h delete mode 100644 src/include/libfixposix/time.h delete mode 100644 src/include/libfixposix/unistd.h delete mode 100644 src/include/libfixposix/wait.h commit 98099815db11ff612e7ec9b952fa54f67844e994 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 02:57:09 2010 +0100 Add comment commit 738fe0b8f57c17f03e5fecdc2141f4b2918c271f Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 02:40:36 2010 +0100 Colorize test output commit 4ae3d80e2cebc3d19ed0d9bca592f24520812ee4 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 02:36:28 2010 +0100 Let Automake run tests in parallel commit f17599d96996aeb877bd7f6770f77427812b613c Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 02:36:03 2010 +0100 Change minimum required Automake version to 1.10 commit ca885a5b384cf087462e95cf38e9d042299b1f57 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 02:23:07 2010 +0100 Add M4 macro LFP_ENSURE_DECL commit 9d6fa597ca687686d812fd77d725bf6a09eb2535 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 02:22:37 2010 +0100 Add M4 macro LFP_ENSURE_TYPE commit d29d17ba428df241dfb41f9364b4f6f765302ee1 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 02:17:01 2010 +0100 Use LFP_ prefix for custom M4 macros commit 15e6b521b8fbf12e5e83ac252eaf385f9acb67bb Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 02:07:33 2010 +0100 Check for the availability of clockid_t before checking its size commit 5e4ab009bf32b1c7bd51b4b852359ce67baeeffc Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 02:07:06 2010 +0100 Better failure message commit 3bf1554caae2c9927b85d0b59c3f76cd3dcb6ba3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 02:00:03 2010 +0100 Use AC_CHECK_SIZEOF to check for the size of clockid_t instead of AC_TRY_RUN delete mode 100644 m4/check_funcs.m4 create mode 100644 m4/custom_checks.m4 commit 03909fec0510dfbafbbd28008689d5956d3fd0dc Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 01:50:33 2010 +0100 Remove LFP_NSIG, ensure that NSIG is defined commit a1a0df691b9a3bdff8e491f0f3f39029cdc7ee24 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 01:31:05 2010 +0100 Change a comment commit 07e69ba52e6c00e30beb14636a060d3bed985234 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 29 01:12:20 2010 +0100 Split libfixposix.h into multiple headers create mode 100644 src/include/libfixposix.h delete mode 100644 src/include/libfixposix.h.in create mode 100644 src/include/libfixposix/aux.h create mode 100644 src/include/libfixposix/dirent.h create mode 100644 src/include/libfixposix/errno.h create mode 100644 src/include/libfixposix/fcntl.h create mode 100644 src/include/libfixposix/mman.h create mode 100644 src/include/libfixposix/resource.h create mode 100644 src/include/libfixposix/select.h create mode 100644 src/include/libfixposix/sendfile.h create mode 100644 src/include/libfixposix/signal.h create mode 100644 src/include/libfixposix/signalfd.h create mode 100644 src/include/libfixposix/socket.h create mode 100644 src/include/libfixposix/spawn.h create mode 100644 src/include/libfixposix/stdlib.h create mode 100644 src/include/libfixposix/string.h create mode 100644 src/include/libfixposix/syslog.h create mode 100644 src/include/libfixposix/time.h create mode 100644 src/include/libfixposix/unistd.h create mode 100644 src/include/libfixposix/wait.h commit 03e4a4f17494b07872b83edd3da40f894a020f2b Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 21:39:06 2010 +0100 Style fix commit c3dff4f4bfa2aa5f3609b46ec7ea9849bf8a9f6e Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 21:18:39 2010 +0100 Make sure that $libdir is included also when linking statically commit 149a0106237f3099f6e885ed5b0847b35324265d Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 21:07:11 2010 +0100 Move libfixposix.h.in to src/include/ create mode 100644 src/include/libfixposix.h.in delete mode 100644 src/lib/libfixposix.h.in commit 1df546360e494d4eafce33b4989699cc8e1cdf0b Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 20:56:31 2010 +0100 Better use of compiler flags commit d2b312c5104c35a7e8da660eb44d416b61d93811 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 20:48:26 2010 +0100 Disable keyword "restrict" if the compiler is not C99 commit 2cf29f8b530d17374e4272126620372e01c2448f Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 18:51:27 2010 +0100 Make sure that libfixposix.pc specifies that a C99 compiler is necessary commit 17d22ed9e6785fa8eb252d28b54b90939c283854 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 18:40:09 2010 +0100 Fix copy_syslog_ident(): malloc() the new ident before copying into it commit 7a82e350d10f55999ff7b625de7e23ef6e9e232b Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 17:55:16 2010 +0100 Make sure that vsyslog(3) is available commit 27088df0d9c305caee1cbf32dd26cffaf54e09bd Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 01:56:00 2010 +0100 Fix off-by-one mistake commit 016741c08b43f23dcad63313a42d475870a99fb4 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 00:57:51 2010 +0100 Wrap setlogmask(), LOG_MASK() and LOG_UPTO() as well commit 2a0c73c8c5b3c2bdab47ca92f412431986b7b32f Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 00:51:25 2010 +0100 Add wrappers for syslog(3) & co. create mode 100644 src/lib/syslog.c commit 8cb0a77278d15df6239cefa3203ee0422537c50d Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 28 00:28:39 2010 +0100 Compile with support for pthreads create mode 100644 m4/ax_pthread.m4 commit a791760b1e2fff507052b7c7e171efa35f397ff8 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 27 00:23:12 2010 +0100 Include stdarg.h in libfixposix.h commit caf31867cae04ac18846939ecc6d50008e1421dd Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Dec 26 21:55:54 2010 +0100 Signal a compile-time error if the OS has sendfile() but lfp_sendfile doesn't use it commit e97ec5752b9f4d9562ff6fa58005476fada8bae3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Dec 26 21:45:00 2010 +0100 lfp_sendfile: return ENOSYS if HAVE_SENDFILE is undefined commit 4855e93c3132129c669a03e91036e44053afa83e Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Dec 26 18:57:02 2010 +0100 Change lfp_sendfile() return type from int to ssize_t commit 6d24841da8fa73fab4524a7359f2b5b783e9260c Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Dec 26 18:47:49 2010 +0100 Add lfp_sendfile() Currently only Linux, FreeBSD and Darwin have sendfile(2) create mode 100644 src/lib/sendfile.c commit 6ee29fcd8063a477d90fcc2d5257015166e7f386 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Dec 25 22:37:44 2010 +0100 Reverting "Turn lfp_spawn_file_actions_t and lfp_spawnattr_t into anonymous types" commit d3e99973c44e916ba6af0afe534c0ef10867d862 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Dec 25 18:31:40 2010 +0100 Turn lfp_spawn_file_actions_t and lfp_spawnattr_t into anonymous types commit 76651398e8d39bf1b3f2579edce2eb7bebf9e105 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Dec 25 18:30:30 2010 +0100 Remove obsolete FIXME commit cd36d4c6bb8a36d9ebcfdc05fb2cf24b0608fc01 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Dec 25 18:09:34 2010 +0100 lfp_wcoredump() returns bool not int commit ddabc487ab089f09609ba995335bab33fe4b40c0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Dec 25 16:47:12 2010 +0100 Copy then free paths passed to LFP_SPAWN_FILE_ACTION_OPEN commit 5bbdb24c363f3e64eec8344c01670dd3b1bd7393 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Dec 25 16:46:29 2010 +0100 Style fix commit 080e6186f87d65bd5fd5aba135c06167b6e7fe37 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 22 12:46:53 2010 +0100 Add some debugging output to lfp_spawn_apply_attr() commit 53d80de681f336f763ce2faf14f621798375fe74 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Dec 21 22:23:13 2010 +0100 Replace attribute "setugid" with "setuid" and "setgid" commit 50c3418c6cbdc1af7896b1d786ecf4eca70b886c Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 20 04:34:49 2010 +0100 Add some casts commit 7f055edf7f9ae05f45d6d710a6b929d9e9ac6998 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 20 04:33:39 2010 +0100 Use lfp_open() in lfp_spawn() file actions commit a8bb83e956c29287980ea0d209a7a5298218504b Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 20 02:45:45 2010 +0100 Fix lfp_clock_* functions, use lfp_clockid_t instead of clockid_t Also ensure that if CLOCK_MONOTONIC needs to be defined, then it won't interfere with clockid_t create mode 100644 m4/check_funcs.m4 commit f8e1b6fe4365fedb23f7e2499f63014e04b92c49 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 20 01:28:55 2010 +0100 Cosmetic fix commit e3942fb44c6de7aabc90698471cf192c6412cf54 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 20 01:26:44 2010 +0100 Fix comment commit dca96a53ac8435bd861f5798955a150d9b31cefe Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 20 01:24:00 2010 +0100 Link to librt on Linux commit fd174fc9f6c57118238559323569bbbed6390e66 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 20 01:19:04 2010 +0100 Implement lfp_clock_getres(), lfp_clock_gettime() and lfp_clock_settime() create mode 100644 src/lib/time.c commit a2d9b175216cb4fd4d5f0b4c1bac2005ea1b9d68 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 20 00:56:01 2010 +0100 Use the syscall return value convention in lfp_readdir() commit 11484f6dab3351b5b05f2f5f2b623c159f677301 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 13 22:46:01 2010 +0100 More cleanup in lfp_socket() and lfp_accept() commit 92a04fad6a1901b8c33dfd7827f1d7a1306a41e4 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Dec 13 22:29:05 2010 +0100 Prettier lfp_socket() commit 8ce60272fa564e6bdb53c40832e42f727ce36558 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Dec 8 02:02:50 2010 +0100 Better handling of SOCK_CLOEXEC and SOCK_NONBLOCK commit a1b2e5dc24140e247d481033ee789ad7c5a50c8d Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Nov 30 16:40:08 2010 +0100 Replace header guards with "#pragma once" commit f0174d29e411ffaa0c1afc33ef161fdd345a5b47 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Nov 4 21:17:45 2010 +0100 Add compile-time headers to Automake script commit e775b1f54fe8a461daffcc2487a096ba6d25b5a4 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Nov 4 21:14:05 2010 +0100 Style fixes commit b98d78422d2001be97ea3ebd5d2d0a08a1da5f47 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 3 14:34:12 2010 +0100 Add fix for C++, which doesn't have restricted pointers(C99 feature) commit bdac49c951f3129a319ecd3d0bf2ae469ce355d5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 3 13:00:06 2010 +0100 Add licence header to all C source files commit 443f0b6cc2af60f3fd2c845b861fa1b478a23602 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 3 12:55:53 2010 +0100 LICENCE: dos2unix commit 469c9878e8fc8b92e20638f3c86ddf856dc2f1ce Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 3 10:33:34 2010 +0100 Refactoring commit d0d4a6021c502204118409e23c2874dd50ed4203 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 3 10:32:14 2010 +0100 Add "restrict" qualifier to signature of lfp_spawn() commit 9e1d89b131209846eb5750a13131bf1185614fd6 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 3 10:20:11 2010 +0100 Refactoring commit 19c55f89947dc24e63d1b3fc6fddc0f6883715d1 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 3 07:30:41 2010 +0100 Fix last commit commit 154127902084c094fa856a15d82aa6f189dbfe9e Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 3 07:17:46 2010 +0100 Replace lfp_open_flags_t with uint64_t commit cd0dcbcd3a473f8b65a7879351260258241aadd3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 3 01:11:02 2010 +0100 Remove enums that mirrored POSIX macros commit 796a606eeacbaee6a694f378d4c0a1775d43c63f Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Nov 3 01:09:24 2010 +0100 Style fixes commit 3648d87845bed0c6128659b2ff5b3f9ea54fd85c Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Nov 2 23:38:08 2010 +0100 Style fix commit c4b7a5a49b2534e8be1463fd971e14a09d70fdbb Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Oct 28 14:06:34 2010 +0200 Minor fix: signed int -> unsigned int commit 5c9acbd47df13a498a96f19129f62085e80b4c6e Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Oct 28 14:04:35 2010 +0200 Add fixes for FreeBSD 8.1 commit 6ff204dfd12728b052863cfcfa551bc67fe8b131 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Oct 28 12:54:27 2010 +0200 Implement lfp_select() if pselect() is not available commit cd8a0a0b54d92181e4282685dae4a756d0901703 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Oct 28 12:53:59 2010 +0200 Add _lfp_timespec_to_timeval() create mode 100644 src/lib/utils.c commit 323f408979472b1dd2e3dffcbeca1a54923510f9 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Oct 27 15:36:21 2010 +0200 Style fix commit 2d9ccfb6b3141c8bf05f303b9c4b99ecd3fb8e35 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 17:14:00 2010 +0200 Declare environ, as OSX doesn't have it commit 128b9573e8362ba875cf4f73205870558dc5898b Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 16:49:45 2010 +0200 Fix definition of O_CLOEXEC commit 3fd6123d9a962a22b24014a5fa33a908a3fc7e93 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 16:42:55 2010 +0200 Remove useless casts commit 9517207166fd737bdc0d885b543e0584b95b88bc Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 16:40:58 2010 +0200 Add missing #include commit 77ef9b79c1d4715a57036d42b681f6e49409f0b4 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 16:31:51 2010 +0200 Fix usage of varargs in lfp_open() GCC on OSX 10.6 says that in va_arg(args, mode_t), «mode_t» must be promoted to «int» commit 39ce22751944d9bd4f236388a535e19324d27c41 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 16:29:33 2010 +0200 Return LFP_ENOSYS from lfp_sigrt{min,max} if SIGRT{MIN,MAX} are undefined commit 544a8766b10e618f8c6433969bf9ee2168bfc83d Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 16:28:00 2010 +0200 Change errno functions to receive and return lfp_errno_t commit bbf249900ed78ffa1c15c03d4a00d52c6d97db72 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 16:16:01 2010 +0200 Fix some warnings on OSX commit 7fb80aa76a53ece39c0f3feb5b97d122ca2967c9 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 16:11:07 2010 +0200 Add lfp_strnlen() commit b54a47c13cb0dc875cd143a38291216c61b605c8 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 16:02:41 2010 +0200 More fixes for uses of Autoconf-defined macros commit b86cad5b9cedd997c9e985fe79532e3e5ce8e13f Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 16:02:13 2010 +0200 Remove lfp_cmsg_align(), as CMSG_ALIGN is not defined on OSX and doesn't seem very useful commit 40c4cd9f3b42c5f6b9928249e1a852753967a1ac Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 26 15:46:59 2010 +0200 Disable signalfd for the moment commit 72571e6349d66c73c80e915bf9ce35bc49c049ff Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Oct 25 17:34:25 2010 +0200 Delete stray paren commit efd9c86915fac03e712cefb460a3745ef6f4022a Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Oct 25 17:27:50 2010 +0200 Fix typo commit 87591740918a922f879e96b35e6020d8ea6dbdfa Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Oct 25 17:24:12 2010 +0200 Include limits.h commit ac05a6341565368426846ef921662658c98a9882 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Oct 25 17:21:23 2010 +0200 Autoconf doesn't "#define HAVE_<FUNCTION> 0" if not found, so fix lfp_pipe() commit ec922590a33d6d4870107a40c79b15e53f5df80d Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Oct 25 16:34:26 2010 +0200 Conditionally define LFP_SI_KERNEL, LFP_SI_SIGIO and LFP_SI_TKILL, as they're not defined on OSX commit 2f14aca13cc2a240a7e502212ab4127d1f7756f5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Oct 25 16:22:13 2010 +0200 Another fix for OSX commit 7d3f40abdfcd6b068ad9e5fc7819e992a71c59c5 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Oct 25 11:47:54 2010 +0200 Some tweaks for signalfd tests commit 9e9ca3ab5ac8a73b38e0da051620905a7a778a0d Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Oct 25 11:47:34 2010 +0200 Add fix for OSX Compile the library defining _DARWIN_C_SOURCE commit 30b75609d858588ea00b427015940351896867e9 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Oct 24 23:27:15 2010 +0200 Have the tests be automatically run by "make check" commit 5cf4ffbec2b8de952f93c3375d6e442580c36b4d Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Oct 24 22:37:10 2010 +0200 Move NSIG out of lfp_signal_t commit b96e48613a03990f2008694344b9e44e0d57813b Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Oct 24 22:36:46 2010 +0200 Add AF_UNSPEC to lfp_socket_domain_t commit 5b48ef043b2e9a1182d238f524d1b2012c37c70d Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Oct 24 00:09:05 2010 +0200 Better definition of LFP_AF_LOCAL and LFP_AF_UNIX commit c0de9521cdbc15a0d417128f53289a9af6a9a7ac Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Oct 24 00:08:45 2010 +0200 Remove definition of SIGCLD because the correct name is SIGCHLD commit 3e44558f010b935d2d57f357ec4b27f1341de81d Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 23 23:48:17 2010 +0200 Use snprintf() rather that 3 x strcat() commit 89290884ec5253f9080ba8160de31af566bf954e Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 23 23:47:49 2010 +0200 Fix lfp_execvpe(): use strchr() not memchr() which doesn't stop on a NUL commit 48cce2c9c7c422b0641aed5162a0884e8122fc71 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 23 23:24:26 2010 +0200 Add lfp_getpath(), lfp_execve() and lfp_execvpe() commit 81e29e88c135d71ed38843a3662eff9e806c735c Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 23 23:23:38 2010 +0200 Arrgh, _GNU_SOURCE is still needed in the external CFLAGS because of NSIG commit 96fcc39cca15d782b4589afa3c3ec24de1593bac Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Oct 23 19:22:53 2010 +0200 Separate internal from external CFLAGS commit e5e90427fa7af0de236c84e8c77d5be2c00fe51e Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Oct 22 23:29:25 2010 +0200 Put internal function prototypes into a private header, declare local functions as static create mode 100644 src/lib/spawn.h commit 0db4b91aa3cd7117a8eed93d19f28327ffd86727 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Oct 22 12:32:38 2010 +0200 Require POSIX.1-2008 by defining _XOPEN_SOURCE=700 commit 2ef143d9bc2f463c5eb9310a15f38b8c9045a721 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Oct 22 12:31:10 2010 +0200 Fix typo commit 83e06c8baa696b8fa11eed645ac5e7fcdaebd1d8 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Oct 22 11:11:59 2010 +0200 Remove redundant final '\0' in strings commit 607a89174a3b5b926537bed7df2aea68fc467c34 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Oct 22 11:04:01 2010 +0200 Fix printing values returned by sizeof() sizeof() returns a size_t, for which the printf directive is "%zu" commit c0498eeb15f5079709996616210f53c6d8181807 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Oct 22 00:57:13 2010 +0200 Be optimistic and assume that the child won't block forever before exec() commit ff8ca26aeb98068ab3b245b1d4ef36fe4cf087b7 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Oct 22 00:56:36 2010 +0200 Refactor lfp_spawn() and lfp_spawnp() commit 59014819bf87cf80b7ca98ec930ceaf2762f8e06 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Oct 21 21:52:21 2010 +0200 Style changes in lfp_spawn() tests commit b878a57a8aa1a413e84965d177b45f196c1158e1 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Oct 21 21:44:42 2010 +0200 Add back lfp_spawnp() commit 0b472cecdc881d144b2053231ba8bb6d5cd4001f Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Oct 18 19:02:53 2010 +0200 Fixes for C++ commit 7aa31af9a894b0e4c63104ac60836a47ae0e9113 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Oct 14 01:20:14 2010 +0200 Add type lfp_sighandler_t commit 5b805265ce92bf9e6437306e92b48dd582791258 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Oct 13 00:55:44 2010 +0200 Remove superfluous AC macro invocation commit 11c9c4e4466f5d99e2fb2fa2f55dec0676a5b3ae Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Oct 13 00:49:35 2010 +0200 Add libfixposix.pc, fix CFLAGS issue wrt. who sets _GNU_SOURCE create mode 100644 libfixposix.pc.in commit 6fc6915b2d7124d0b9057d1e683b84650e3079fc Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 12 23:07:14 2010 +0200 Add lfp_fd_is_open() commit 3b8ad507d16fdcc0cc38fb6dd2644f06275c61af Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 12 22:44:15 2010 +0200 In lfp_set_cloexec() and lfp_set_nonblock, don't call fcntl() if new_flags == current_flags commit 7cfdb20d1b7124dcaad26932fecb0815cb1fc96b Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 12 22:34:25 2010 +0200 Add lfp_is_fd_cloexec() and second parameter "enabled" to lfp_set_fd_cloexec() commit 23a74ac5d303310b9c5ae25869f8fff6ad3bb229 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Oct 12 22:23:28 2010 +0200 Add lfp_is_fd_nonblock() and second parameter "enabled" to lfp_set_fd_nonblock() commit 6d431fdff351ae3adf6b6e6976dc4fa9ffafad81 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 20 01:40:36 2010 +0200 Add lfp_readdir, lfp_open, lfp_creat, lfp_mkstemp, lfp_truncate, lfp_ftruncate, lfp_lseek, lfp_stat, lfp_lstat, lfp_fstat, lfp_isreg, lfp_isdir, lfp_ischr, lfp_isfifo, lfp_islnk, lfp_issock, lfp_mmap, lfp_munmap, lfp_getrlimit and lfp_setrlimit create mode 100644 src/lib/dirent.c create mode 100644 src/lib/mman.c create mode 100644 src/lib/resource.c create mode 100644 src/lib/stdlib.c commit f2c0c3ec3c204ab0b76ba144d493be898811e602 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 20 00:41:11 2010 +0200 Add lfp_pread() and lfp_pwrite() commit 46b54a1ea1e5b14bc66490a7a81ece4727aeff17 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 20 00:22:19 2010 +0200 Rename test files, add select() test create mode 100644 src/tests/select.c create mode 100644 src/tests/signalfd.c delete mode 100644 src/tests/signalfd_test.c create mode 100644 src/tests/spawn.c delete mode 100644 src/tests/spawn_test.c commit ab6e99d37483c730803a160fd2fcc6b51d63b098 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Sep 20 00:21:08 2010 +0200 Add lfp_strerror() as a wrapper of strerror_r create mode 100644 src/lib/string.c commit 1d4aca9702952aca93c99792e660bcfa0856db6a Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Sep 16 00:52:39 2010 +0200 Fix printf() flag commit 9a6d94756224ff668dc761a4141b5800f6abf3db Author: Francois-Rene Rideau <fare@tunes.org> Date: Wed Sep 15 18:06:33 2010 -0400 Add test for spawn, fix bugs found while testing. create mode 100644 src/tests/spawn_test.c commit c99c64e6eec5232e4ba2a6c9b86048f0798215bd Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Sep 15 23:10:51 2010 +0200 Update README commit d378e368cf5d5c11271160a496770f8383a5f565 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Sep 15 22:49:35 2010 +0200 Add instructions for installing commit 108e2b18f5f18e0846185315772824e00d63d32e Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 14 02:48:27 2010 +0200 Add notice about ldconfig in the README commit 6423752527b41834a57385504bb53c3b73e0636a Author: Francois-Rene Rideau <fare@tunes.org> Date: Sun Sep 12 10:01:35 2010 -0400 Merge branches 'master' and 'master' of ssh://gitorious.org/libfixposix/libfixposix commit fb5c3fb61863f334fdacc4014b16f934534a4637 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Sep 11 21:16:25 2010 +0200 Remove file descriptor checks from spwan_file_actions commit 2ddf85262b10b6a8fdda9eb185aa9faaaf839ef0 Author: Francois-Rene Rideau <fare@tunes.org> Date: Sat Sep 11 14:47:00 2010 -0400 One pass at spawn_file_actions. Untested. commit b50db41ed530362a20cc511391549eaa7dd4b6d9 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Sep 10 23:47:46 2010 +0200 Add compilation instructions to README commit 2c191cbbd7af8fafcb7d3f381b11a05977aa8ed0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Sep 8 01:15:40 2010 +0300 Add EHOSTDOWN, ENONET and ESHUTDOWN commit f1d10c5d81d238be41fafd332dcc5e9610960c6d Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 7 17:09:39 2010 +0300 Fix definition of O_CLOEXEC commit b0e4f177f1e30fe22d294860ce4703a6f82cc72a Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 7 14:56:55 2010 +0300 Add kludge to avoid using pkgconfig for CFLAGS commit e6568a50e9191d551cb87e3868ecc51ddd5b46fd Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Sep 7 14:55:29 2010 +0300 Remove WNOWAIT WNOWAIT is not an argument to waitpid(), but to waitid() which is not in POSIX commit 8e3e15f4141cdba52d7464c38d16a5f853cf721b Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 9 13:02:10 2010 +0100 Add "static" qualifier to a few functions commit 82cbca98bab50a649037557004ef8818a783beb0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 9 12:41:53 2010 +0100 Add comment commit 1d79af6f9b67d96499d682879a696abf831aae0c Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 9 12:36:10 2010 +0100 Split lfp_spawn() commit 2f8f5189342d19a316df265e5648784b45c00111 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 9 12:35:56 2010 +0100 Use LFP_* error names commit 18c1905ebfb2ff23a7e8b11416c068cd5ec36584 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 9 12:23:33 2010 +0100 Add LFP_EBUG commit 210b99fd0383ffff0a4d64faf42cd9beaf199af8 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 9 10:54:59 2010 +0100 Improve SYSERR commit a895961a0290a83b3819ee17d5f17b8656a4bd0d Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Aug 8 23:11:25 2010 +0100 Add macros SYSERR and SYSCHECK create mode 100644 src/lib/utils.h commit 3727a865926c1f54fabefe9cf18761914ae8499c Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Aug 8 00:24:27 2010 +0800 Add lfp_spawnattr* functions create mode 100644 src/lib/spawn_file_actions.c create mode 100644 src/lib/spawnattr.c commit f7e2860ee34a4593f26733fc831e92798a288775 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Aug 8 00:23:05 2010 +0800 Remove lfp_spawnp(), add argument "search" to lfp_spawn() commit 748cea1dd16055fe7dd186034705e24db1e49891 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Aug 8 00:22:11 2010 +0800 Err if NSIG doesn't exist commit f7d83e6ed477b885c987ac09f84ea0a276341841 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Aug 8 00:21:45 2010 +0800 Indentation commit 78b5915985926a986c5835275eeafecd07d0274c Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Aug 4 22:36:12 2010 +0800 Rename pipe.c -> unistd.c delete mode 100644 src/lib/pipe.c create mode 100644 src/lib/unistd.c commit e488089908c88b232de8d2e5521e8eb9e7cb9a63 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Aug 3 02:15:17 2010 +0800 Rename lfp_flags_t -> lfp_open_flags_t commit f369f9258e9c6d942da3dc5fbf5ecf2730e500f9 Author: Francois-Rene Rideau <fare@tunes.org> Date: Mon Aug 2 10:49:42 2010 -0400 Close fds a bit more eagerly. commit 1685c836494ac3279a5a586fa3326e1e17a906d0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 22:37:59 2010 +0800 Style fix commit f65d345d126345651010349e733f1e369188a041 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 22:16:55 2010 +0800 Define LFP_SIGEMT and LFP_SIGINFO only if their Posix counterparts exist commit 4901fec18ce771d2251b2268182e3a65f02c0684 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 22:15:37 2010 +0800 Rename lfp_signal_number_t -> lfp_signal_t commit 54ed0b9d90fc55bf06858dba8d80efb4d209bef7 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 22:15:13 2010 +0800 Move declaration of lfp_install_signalfd() commit 1ecda3f98d73cbedd11baa8010f6e2181be2f72e Author: Francois-Rene Rideau <fare@tunes.org> Date: Mon Aug 2 10:13:44 2010 -0400 Remove extern from signal.c, after Stelian's apparent change of mind. commit 1ae6f3eefa2634551805114c9f4d1b72b03a850d Author: Francois-Rene Rideau <fare@tunes.org> Date: Mon Aug 2 05:57:52 2010 -0400 Add support for signals create mode 100644 src/lib/signal.c commit ce8c54d709b5be6c7389d5b3a8a9c9ef5dd0099e Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 02:42:28 2010 +0800 Move CMSG_* accessors to socket.c delete mode 100644 src/lib/cmsg.c commit 3427a2ca52eb3bd9e7d5da3cea298579871ca0ba Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 02:40:23 2010 +0800 Remove "extern" qualifier from functions because it's redundant commit 0310f1397819d54a49202fa91d7207105e4a11b9 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 02:04:25 2010 +0800 Add basic implementation of lfp_spawn() create mode 100644 src/lib/spawn.c commit 0aec697238211cb66e808ce3fc7f4c1649010cee Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 00:47:35 2010 +0800 Move CMSG_* wrappers up commit 9b8cd8547d2fb1d777627bdd9fef4f97e83e54b3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 00:42:27 2010 +0800 lfp_cmsg_data() returns "void*" commit 2b0b41e762f40d578d29cff61937b6e8eee8810b Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 00:41:28 2010 +0800 Use type "bool" in wrapping wait() macros commit 8557d0e6820e2d2e7ec19c496f1c9d54f8b7a8a4 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 00:36:51 2010 +0800 Mark lfp_* functions as "extern" commit 4e1c6e1145bc063fc2934191f82eaa0965a6617a Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 00:33:11 2010 +0800 AF_UNIX, AF_LOCAL, AF_INET, AF_INET6, SOCK_STREAM and SOCK_DGRAM are required now commit b61eb85af42198a88d8b4af04721ec3ae3ad43a2 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 00:32:24 2010 +0800 Fix includes commit 73979a1cc1d437dcf96682026fc17ed9918f9540 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Aug 2 00:31:49 2010 +0800 Include required system headers in .c files commit 9e97c058838ff45c38c6453f3005cb6e2a710287 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Aug 1 21:30:04 2010 +0800 Fix test commit 4c1a1c94f8f5912591b27abfd731bf67b298278a Author: Francois-Rene Rideau <fare@tunes.org> Date: Sat Jul 31 10:46:08 2010 -0400 cmsg support create mode 100644 src/lib/cmsg.c commit b6eeb16c3d3e2df7d83f6d4b0388ff29746745bb Author: Francois-Rene Rideau <fare@tunes.org> Date: Sat Jul 31 10:21:50 2010 -0400 Rename waitpid.c to wait.c, fix support. create mode 100644 src/lib/wait.c delete mode 100644 src/lib/waitpid.c commit 2e8900af7ddbe2c27c53f4225a36e7516142e3d7 Author: Francois-Rene Rideau <fare@tunes.org> Date: Sat Jul 31 10:02:03 2010 -0400 waitpid support. more errno tweaks. create mode 100644 src/lib/waitpid.c commit 920149987bd538cf23b5fa492fee07a50f3c3499 Author: Francois-Rene Rideau <fare@tunes.org> Date: Sat Jul 31 09:43:33 2010 -0400 errno support. Add .gitignore. Fix signalfd_test create mode 100644 src/lib/errno.c commit b21c6d5ac40f7d88ea557000c7487107155af81a Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Jul 31 20:46:51 2010 +0800 Use lfp_select() commit b04f077bb690a9999b5141af817eef087b3907ab Author: Francois-Rene Rideau <fare@tunes.org> Date: Fri Jul 30 11:42:09 2010 -0400 Tweak signalfd comments. Use more lfp_ functions in test program. commit f782885396d615eb3ef1536f4fab2b032eb8cc10 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 23:23:22 2010 +0800 Fix signalfd() test commit fe58b4e0138e969c4ba35a24a457cd819ee4a1de Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 23:05:57 2010 +0800 Fix lfp_set_fd_{cloexec,nonblock}() commit 40a2ed45eac27347829e9a569bf68c28d59ebcd0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 22:28:24 2010 +0800 Add lfp_set_fd_{cloexec,nonblock}() create mode 100644 src/lib/fcntl.c commit fddf3064f2d7fc398bbe95b8e93af0f6977d7231 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 22:12:40 2010 +0800 Whitespace commit dadafd738e7cde3d43b7594103d5a8d36ec38f02 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 22:12:32 2010 +0800 Return the socket FD from lfp_socket() commit 7823f381d8c9e3d3c37a606c9faf5380d4976e03 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 22:09:12 2010 +0800 Better style in lfp_socket() commit 65ccc90d3d97ee5a53ebd5201934139930f4c845 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 22:06:49 2010 +0800 More fixes for lfp_accept() commit 2862f2005426d08619488d58226f712d0e8bd4e9 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 22:06:33 2010 +0800 More fixes for lfp_pipe() commit 6229638a3097e8a4b03a5a8d8e0070bb18f27619 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 21:52:52 2010 +0800 Add lfp_accept() commit b8d805eb1559d62aab2cf44972d826553977fabc Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 21:51:49 2010 +0800 Fix lfp_pipe() commit 4658bcb65095c13fb8182866a95fa4e377edbead Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 21:48:19 2010 +0800 Whitespace commit b65e121c6fe27fdf2284800a63978369abe58a9f Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 21:20:42 2010 +0800 Add type lfp_errno_t commit 4e38af04829c722bde10a9f17b1bb9703ee7de19 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 21:20:22 2010 +0800 Move an #include commit b9865e8e94ee7115e070439a7d45ec3bfc7d9fd3 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 18:50:05 2010 +0800 LP64 is a data model, not a memory model commit 124ea247261f992ca99ff244983c2c8407ee8279 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 18:47:30 2010 +0800 Indentation commit 41e2e897e1fbc18dd80f76aafdaa6f5c3a8b1ac1 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 18:47:15 2010 +0800 Add type lfp_flags_t commit cbb7bed4c856832e5855120f1aa95e8085f04a7c Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 04:55:51 2010 +0800 Use STDERR_FILENO instead of magic number commit 4fe2967b9c7731d114946f6fe3ce9852a6ee6f62 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 04:55:34 2010 +0800 Make lfp_(un)install_signalfd return errors as a normal syscall commit 3f78f36af57decc1734b92787f6e8f8e08b07956 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 04:38:02 2010 +0800 Set errno to ENOSYS in lfp_signalfd() when signalfd() is emulated commit d8e2b3316c902d986ce58d919db429aa78f64bc9 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 04:29:42 2010 +0800 Add argument "cloexec" to lfp_pipe() commit 74c4de62c74d8be55aee6c5e93025acc59708076 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 04:23:02 2010 +0800 Add arguments "flags" and "cloexec" to lfp_socket() commit f12387e35d7baf452fd9db00d165e95bcfd9f0bb Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 03:24:16 2010 +0800 Add lfp_socket() create mode 100644 src/lib/socket.c commit 061db53d19fd6da8267d681351b03d0d68ac41b8 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 03:23:44 2010 +0800 Declare lfp_select and its helpers as "extern" commit 73c140f2ec3776aa19aff28aa13207df9e9791cd Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 03:23:21 2010 +0800 Remove inline declaration from lfp_pipe commit dc5a9edbbf078b6c0949a1cdec3e51e66d8c7420 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 03:02:52 2010 +0800 Quote arguments to AC_{CHECK,ENSURE}_HEADER commit 26c72a9a87028b76b7b483c0e9b1011f4994f104 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 02:59:33 2010 +0800 Rename m4/headers.m4 -> m4/utils.m4, remove useless comment delete mode 100644 m4/headers.m4 create mode 100644 m4/utils.m4 commit 91ff24c5fb03526df5e4fad54b744f76a062f0ba Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 02:58:20 2010 +0800 Ensure that pselect() is available commit 5615e11190170884b27113320840d4b750c52e11 Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 02:58:08 2010 +0800 Add AC_ENSURE_FUNCS commit 19f907d4091d98e60a1f9bfa1c2f4961893c04de Author: Stelian Ionescu <sionescu@cddr.org> Date: Fri Jul 30 02:57:47 2010 +0800 Rename AC_CHECK_HEADER_STRICT to AC_ENSURE_HEADER commit c6226edb711b1f402a775875244621976dfba0e9 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Jul 29 13:48:01 2010 +0800 Whitespace commit 95a75bf6cf5950387a5c56a2dc35305b0ef54171 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Jul 29 13:47:55 2010 +0800 Add select() and its helpers create mode 100644 src/lib/select.c commit 906dccd17c04173cf6177a4094360c1c97a25ec0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Jul 29 02:30:47 2010 +0800 Cosmetic changes commit 10d4f39870d41119881e8af476c48548781d48fe Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Jul 29 02:30:37 2010 +0800 Rename (un)install_signalfd to lfp_(un)install_signalfd, fix signature commit e360a97442b69a6b98ab3ed6b9833d742f4e801a Author: Stelian Ionescu <sionescu@cddr.org> Date: Thu Jul 29 01:23:12 2010 +0800 Rearrange sources, add libfixposix.h.in delete mode 100644 src/install_signalfd.c delete mode 100644 src/install_signalfd.h delete mode 100644 src/lfp_unistd.h create mode 100644 src/lib/install_signalfd.c create mode 100644 src/lib/libfixposix.h.in create mode 100644 src/lib/pipe.c delete mode 100644 src/pipe.c delete mode 100644 src/signalfd_test.c create mode 100644 src/tests/signalfd_test.c commit caeefbd3ab4b211348a3f068ec0f60244167d046 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jul 28 22:14:33 2010 +0800 Fix declaration of install_signalfd() commit 78584d7a0f34bddfca5adb58bfb64cac97376b3d Author: Francois-Rene Rideau <fare@tunes.org> Date: Tue Jul 27 20:11:49 2010 -0400 More wrappers from iolib.syscalls. commit 71095f57281dc014e2369e944ff638cac3696a27 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jul 28 03:56:00 2010 +0800 Remove make_lfp_wrappers.lisp delete mode 100644 src/make_lfp_wrappers.lisp commit 2cd6cfa94cee27e4aaeec4a67250025453502725 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jul 28 03:45:26 2010 +0800 Use stdbool.h commit 50b234ce592a4a72b414c6d61081e07d6cd7b862 Author: Stelian Ionescu <sionescu@cddr.org> Date: Wed Jul 28 03:45:08 2010 +0800 Rename lfp_pipe2 to lfp_pipe commit 3d073d874c4545167804a6eaae78baa21260ddaf Author: Francois-Rene Rideau <fare@tunes.org> Date: Tue Jul 27 15:18:36 2010 -0400 First attempt at a script to semi-automate the production of wrappers... create mode 100644 src/make_lfp_wrappers.lisp commit a050813eaa0c3261f73019bc2452524ef1797f60 Author: Francois-Rene Rideau <fare@tunes.org> Date: Tue Jul 27 12:23:22 2010 -0400 Modify the install_signalfd API so we can know whether the signal has been blocked, and notify other libraries or runtime components that need to know about it (e.g. SBCL). commit 8fdf957a8718ebf8365f158035ed17ff0f988da2 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jul 6 22:56:40 2010 +0800 Ignore build/ too commit 3143290d609311e2ed9fba05ff059d023c9a9b11 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jul 6 22:53:49 2010 +0800 Move lfp_pipe to its own file, fix includes create mode 100644 src/lfp_unistd.h create mode 100644 src/pipe.c commit 9a09332f1ef42824362efcd8c0dfed4754c0b2b0 Author: Stelian Ionescu <sionescu@cddr.org> Date: Tue Jul 6 00:38:37 2010 +0800 Fix signalfd emulation commit cc60efe4db620319fcc4fd448c23ef5551af2920 Author: Francois-Rene Rideau <fare@tunes.org> Date: Sun Jul 4 17:54:09 2010 -0400 Use select in signalfd_test to not eat 100% CPU busy polling for the signalfd. create mode 100644 .gitignore commit d4a77d7ebd431f2af2b461bd48a2d08e51f15577 Author: Stelian Ionescu <sionescu@cddr.org> Date: Mon Jul 5 05:25:43 2010 +0800 Add signalfd(2) emulation create mode 100644 Makefile.am create mode 100644 configure.ac create mode 100644 m4/headers.m4 create mode 100644 src/install_signalfd.c create mode 100644 src/install_signalfd.h create mode 100644 src/signalfd_test.c commit c32c1929c6a51ddc1fc8932a42fc365ca06d65ed Author: Stelian Ionescu <sionescu@cddr.org> Date: Sun Jul 4 03:59:01 2010 +0800 Add LICENCE create mode 100644 LICENCE commit e42fd953dd05301f9a1f72a7a56ffaa4e48e5e03 Author: Stelian Ionescu <sionescu@cddr.org> Date: Sat Jul 3 04:02:12 2010 +0800 Add README create mode 100644 README |