argv returning strange filename
m.m.bezemer at student.utwente.nl
Thu Mar 18 05:25:47 PST 2004
I'm busy again updating CVS and SSHLib to their newest versions.
But while I was testing CVS I found a strange problem.
CVS uses argv to get the program path which is needed by some
commands to start a new instance (using popen() ).
The value of argv is something like:
Well it's obvious that CVS can't find itself when using the returned
value. Is this an expected kind of behaviour or is it a bug?
(It's the first piece of code after main() is called)
I'm using gcc (and unixlib) version 2.95.4 release 3 (released 05
Could someone help?
PS I'm plesantly surprised that things like popen() are working fine!
More information about the gcc