vms_basename fix
vms_basename() was recently changed to take a second argument to control whether to include the suffix portion of the name (used for DEBUGFILES) but an existing call still had only one.
This commit is contained in:
@@ -52,7 +52,7 @@ main(int argc, char *argv[])
|
||||
|
||||
atexit(byebye);
|
||||
gh.hname = argv[0];
|
||||
gh.hname = vms_basename(gh.hname); /* name used in 'usage' type messages */
|
||||
gh.hname = vms_basename(gh.hname, FALSE); /* used in 'usage' type mesgs */
|
||||
gh.hackpid = getpid();
|
||||
(void) umask(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user