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:
+1
-1
@@ -52,7 +52,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
atexit(byebye);
|
atexit(byebye);
|
||||||
gh.hname = argv[0];
|
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();
|
gh.hackpid = getpid();
|
||||||
(void) umask(0);
|
(void) umask(0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user