|
From: | Paul Eggert |
Subject: | Re: [PATCH] gnulib: Define argv[0] as program_name for error.c on Darwin |
Date: | Fri, 13 Feb 2015 10:08:08 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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?
[Prev in Thread] | Current Thread | [Next in Thread] |