The instructions in progname.h say:

/* Programs using this file should do the following in main():
     set_program_name (argv[0]);
 */

/* Set program_name, based on argv[0].  */
extern void set_program_name (const char *argv0);


but the GNU coding standards say:

 "The program's name should be a constant string; don't compute it from
 argv[0]. The idea is to state the standard or canonical name for the
 program, not its file name."



J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature

Reply via email to