Richard W.M. Jones wrote:
fter some experimentation she came up with the attached patch, which she has tested, and which allows argv[0] to be found by calling a function `_NSGetArgv' (which of course only exists on OS X).
Yes, unfortunately this appears to be a fix that will solve the problem only on OS X. We need a fix that will work on all platforms.
Perhaps change progname.h to understand the problem, and have error.c use progname.h?