The trouble comes when you have a command like "cd %s ; ./make.sh ; cd -". Then you have to count the characters that aren't part of format specifiers and subtract that too. :) And it's difficult if...
Type: Posts; User: dwks
The trouble comes when you have a command like "cd %s ; ./make.sh ; cd -". Then you have to count the characters that aren't part of format specifiers and subtract that too. :) And it's difficult if...
That code is extremely incomplete, what with extra parentheses and missing semicolons etc. It really helps other people help you if you post real code.
Fortunately, I think I see what your problem...