Paul Eggert wrote: > One simple way to fix the problem is to define a global > variable program_name and arrange for your > main function to set it from argv[0].
Or import the module 'progname' from gnulib, and start the main() function of your program with the statement set_program_name (argv[0]); Bruno