]> git.tdb.fi Git - libs/core.git/commitdiff
Store absolute path to argv[0] in Application
authorMikko Rasa <tdb@tdb.fi>
Mon, 10 Nov 2014 17:29:11 +0000 (19:29 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 10 Nov 2014 17:29:11 +0000 (19:29 +0200)
Working directory or $PATH may be changed by the program, so it may not
be possible to recover the executable later.  It's still not completely
reliable since the parent process can pass any value for argv[0] through
execve().


No differences found