src/progname.c


Log

Author Commit Date CI Message
Guillem Jover 11f2c32d 2010-01-30T22:00:18 Fix setprogname to strip leading paths from progname
Guillem Jover 30c79408 2010-01-21T14:34:55 Make setprogname and getprogname arguments and return value const This is more correct as the strings are not going to be changed, and it matches the function signatures on other BSDs. Suggested-by: Aurelien Jarno <aurel32@debian.org>
Guillem Jover abe0a4a7 2010-01-10T11:02:13 Reformat code to KNF
Guillem Jover 1f0b016e 2009-05-20T04:20:21 Use UTF-8 copyright symbols for non-imported files
Robert Millan 532aec99 2008-03-16T16:49:41 Relicense err.c and progname.c to avoid trouble with 4-clause BSD code
Robert Millan 326d210f 2006-03-30T13:53:34 Revert 1d87476250217a87319df48a8f473415c0515106
Robert Millan 1d874762 2006-03-30T11:14:56 Duplicate setprogname argument For some reason, accessing the argv vector directly may cause SIGSEV.
Robert Millan a84fcb45 2006-03-18T12:53:39 Fix syntax error
Robert Millan 31461c56 2006-03-18T09:19:50 Initialize __progname as NULL
Robert Millan 5bd83402 2006-03-17T19:55:21 Add getprogname and setprogname