summaryrefslogtreecommitdiff
path: root/scripts/wrapper.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-22scripts/wrapper: fix wrong test when checking access to the reall toolYann E. MORIN"1-1/+1
In C, the proper syntax for a bit-wise OR is a single '|', not two. It worked so far because all was well: - X_OK == 1 - R_OK||X_OK == 1 - the file we searched for had the x-bit set -> access( file, R_OK||X_OK ) worked - inicidentally, the file we searched for also had the r-bit set, but we were not testing that in fact.
2010-05-22scripts/wrapper.c: Under MacOS set DYLD_LIBRARY_PATHTitus von Boxberg1-2/+7
Depending on (predefined) macro __APPLE__, use DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH.
2009-08-30tools wrapper: fix error due to unused argumentYann E. MORIN"1-0/+3
In the C wrapper, the argc argument is not used, causing an error (as we treat warnings as errors). Use a dummy allocation to get rid of the warning.
2009-08-29tool wrapper: add initial wrapper coded in CYann E. MORIN"1-0/+128
Add an initial wrapper: - find the realpath of the tool being called - add the '.' in front of the tool name - add the '/lib' dir to the base dir of the tool - set and export LD_LIBRARY_PATH - execve the real tool