'program_name' is used in lib/error.c, but it is not allocated
anywhere. Should it be added to main.c and initialised to exec_name?
--gv
Hi,
* Gisle Vanem ([EMAIL PROTECTED]) wrote:
'program_name' is used in lib/error.c, but it is not allocated anywhere.
Should it be added to main.c and initialised to exec_name?
$cd wget-mainline
$find . -name '*.[ch]' -exec fgrep -H -n 'program_name' '{}' \;
./lib/error.c:63:# define
Google for that and you will find the corresponding man page. Like it's
written here
http://www.tin.org/bin/man.cgi?section=3topic=PROGRAM_INVOCATION_NAME
These variables are automatically initialised by the glibc run-time
startup code.
I'm on Windows. So glibc is of no help here.
--gv
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Saint Xavier wrote:
Hi,
* Gisle Vanem ([EMAIL PROTECTED]) wrote:
'program_name' is used in lib/error.c, but it is not allocated anywhere.
Should it be added to main.c and initialised to exec_name?
$cd wget-mainline
$find . -name '*.[ch]'