commit c9e3d59c54bede9e1b8388b4e67b5592cd1b6b82 Author: Alberto Bertogli Date: Mon Jul 13 18:02:13 2009 -0300 libfiu 0.12 Signed-off-by: Alberto Bertogli commit aec380cbe57180b290e6cff4a3d37c9b23c1e853 Author: Tommi Rantala Date: Fri Jul 10 21:44:31 2009 +0300 libfiu: make headers usable from C++ Instruct C++ compilers not to mangle libfiu symbols. Signed-off-by: Tommi Rantala commit ff8c06e87ebeee8438b8d634e902a57eba234cf3 Author: Alberto Bertogli Date: Mon Jul 13 14:05:09 2009 -0300 chmod +x utils/fiu-ls While it's properly installed, it makes sense to have it +x in the source tree. Signed-off-by: Alberto Bertogli commit f5f470c2f06e184ec3fab410fd19c87d39b17071 Author: Alberto Bertogli Date: Mon Jul 13 14:04:13 2009 -0300 Rebuild when the build flags have changed This patch causes "make" to rebuild the target when the build flags (either CFLAGS or PREFIX) have changed. Signed-off-by: Alberto Bertogli commit 86357af6dc2d03c195621b1a49caea9e13c5aec6 Author: Alberto Bertogli Date: Mon Jul 13 13:26:46 2009 -0300 Minor misc. improvements to the user guide Signed-off-by: Alberto Bertogli commit 59ea041189bf16eeb561aff450b8ac8d856fd6dc Author: Alberto Bertogli Date: Sun Jul 12 18:26:09 2009 -0300 preload/posix: Sort and remove duplicates of errnos in extract_from_man Signed-off-by: Alberto Bertogli commit c7e1700e0e7cf6504b72db482e5b2dd417e64f23 Author: Alberto Bertogli Date: Sun Jul 12 18:25:30 2009 -0300 preload/posix: Add truncate(), ftruncate(), unlink() and rename() Signed-off-by: Alberto Bertogli commit ae3e192dd35e6aae88bf2eed42372445bf12a05e Author: Tommi Rantala Date: Wed Jul 8 09:05:22 2009 +0300 fiu-ls: list processes that can be controlled fiu-ls is a tool for listing processes that can be controlled fiu-ctrl. Signed-off-by: Tommi Rantala commit 0d4f4bd9c3f7c83cbb78f70251c118325f1b65af Author: Tommi Rantala Date: Mon Jul 6 11:53:02 2009 +0300 fiu-run: POSIX preload library path fix Always load the POSIX preload library from the library path defined by -l, ignoring the order in which the parameters -l and -x were given. Signed-off-by: Tommi Rantala commit 3921b80255f8f1a25ae64f75e1aa48d48780a87b Author: Tommi Rantala Date: Fri Jul 3 15:31:47 2009 +0300 fiu-ctrl: Fix bash array appending Properly append items to the bash variable CMDS. The += syntax gave error message under Bash 2.x, and did not actually append items to the array under Bash 3.x either. Signed-off-by: Tommi Rantala commit 06575e384e1a7c1087f85682d0f588b2830590e8 Author: Alberto Bertogli Date: Fri Jul 3 03:38:17 2009 -0300 libfiu: Fix realloc() size miscalculation Signed-off-by: Alberto Bertogli commit d7934a2e8c0e35df9b0fccc47bffe65dca015dc6 Author: Alberto Bertogli Date: Fri Jul 3 00:18:01 2009 -0300 libfiu: Use strtod() instead of strtof() for portability reasons Even though it's super standard, some platforms (current Dragonfly BSD, although it will be fixed in the future) do not provide strtof(), so we use strtod(). Signed-off-by: Alberto Bertogli commit 73d6ade2a76e7508061151e499b8bb685af42a2a Author: Alberto Bertogli Date: Fri Jul 3 00:17:17 2009 -0300 preload/run: Complain if fiu_rc_fifo() fails Signed-off-by: Alberto Bertogli commit 9724c0016e1e202e985c62abcef388a6ca57d32b Author: Alberto Bertogli Date: Fri Jul 3 00:16:55 2009 -0300 libfiu: Use mkfifo() instead of mknod() mkfifo() is more clear, and mknod() may require root privileges on BSDs. Signed-off-by: Alberto Bertogli commit 555b566c9608692768c7fb46a0d530d03ed0f9cc Author: Alberto Bertogli Date: Thu Jul 2 23:24:05 2009 -0300 Define _XOPEN_SOURCE=600, which is more correct when using C99 Signed-off-by: Alberto Bertogli commit 7db88470d931657bfb50e0bf42489b7dfc60fefd Author: Alberto Bertogli Date: Thu Jul 2 23:07:54 2009 -0300 preload/posix: Avoid using undefined errno values Signed-off-by: Alberto Bertogli commit 8509e099e449e824c1db8776abb4e8126cae05cc Author: Alberto Bertogli Date: Thu Jul 2 22:46:37 2009 -0300 Use .in instead of .skel for template files Signed-off-by: Alberto Bertogli commit d5946a44a2d8e50525b58d301bdfe35eee3f8405 Author: Alberto Bertogli Date: Thu Jul 2 21:29:48 2009 -0300 preload: Only link against libdl when available Signed-off-by: Alberto Bertogli commit 67b4a220f4c474b04f74ef18a30168ea51e8dfee Author: Alberto Bertogli Date: Thu Jul 2 21:24:56 2009 -0300 fiu-ctrl: Prevent unwanted bash parameter expansion Signed-off-by: Alberto Bertogli commit 7b96b649a32c828e75a91b0ae2b5318b1595966c Author: Alberto Bertogli Date: Thu Jul 2 21:03:06 2009 -0300 Allow the user to override the "install" command It's useful in Solaris where the default install is not compatible with the GNU or BSD install. Signed-off-by: Alberto Bertogli commit 6007206f689843f32a5e3d0f3c96c5a9da9bb3f3 Author: Alberto Bertogli Date: Thu Jul 2 20:39:07 2009 -0300 Use /usr/bin/env to run bash fiu-run and fiu-ctrl assume bash is at /bin, which is not necessarily correct. This patch fixes that by using /usr/bin/env to run it, which is more reliable. Signed-off-by: Alberto Bertogli commit 76873020dcac7d8979ffd8e12c67a40b116c1623 Author: Alberto Bertogli Date: Thu Jul 2 19:58:07 2009 -0300 preload: Do not use constructor priorities when they're not supported Constructor priorities are supported only from gcc 4.3 on, and only on some platforms. Since we don't rely on them, this patch avoids using them when building on an unsupported system. Note that clang defines __GNUC__, so when it gets constructor priorities support, it should work fine without needing a special case. Signed-off-by: Alberto Bertogli commit a9ffe90f61a87d4c244fb8e1296831cbfc417a5f Author: Alberto Bertogli Date: Thu Jul 2 19:48:28 2009 -0300 libfiu: Put a global static variable inside the only function that uses it Signed-off-by: Alberto Bertogli commit 3f5fed858a7542035c5b9eb9eaf93edb7b7a5ec2 Author: Alberto Bertogli Date: Thu Jul 2 18:32:07 2009 -0300 libfiu: Use limits.h to get PATH_MAX That's the standard location, sys/param.h is not portable. Signed-off-by: Alberto Bertogli commit a45d499f313919b68b3cb50c2dabfe120e2e355f Author: Tommi Rantala Date: Thu Jun 25 09:53:23 2009 +0300 preload/posix/generate: python 2.3 fix The default build of libfiu uses the generate script, which requires a recent version of python with support for generator expressions. This patch changes the generator expression to a list comprehension to enable libfiu to be built with older versions of python. Signed-off-by: Tommi Rantala