Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-22 | scripts/wrapper: fix wrong test when checking access to the reall tool | Yann 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. (transplanted from eebcaff6626f09af4f69b7b06f1246a06769d0af) | |||||
2009-08-30 | tools wrapper: fix error due to unused argument | Yann 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-29 | tool wrapper: add initial wrapper coded in C | Yann 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 |