diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-14 13:55:56 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-14 13:55:56 +0000 |
commit | 1db1659f90068fccb5de856f9baa5dab87db770f (patch) | |
tree | 6a4c56c74a60703f139253d6c81ffad7b7790dc0 /NetWare/Nwmain.c | |
parent | ad75418a4f79eabba702cb2a993fc1295e75237e (diff) | |
download | perl-1db1659f90068fccb5de856f9baa5dab87db770f.tar.gz |
NetWare tweaks from Ananth Kesari.
p4raw-id: //depot/perl@12018
Diffstat (limited to 'NetWare/Nwmain.c')
-rw-r--r-- | NetWare/Nwmain.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/NetWare/Nwmain.c b/NetWare/Nwmain.c index 0e8bf0bbb8..9fb2e50845 100644 --- a/NetWare/Nwmain.c +++ b/NetWare/Nwmain.c @@ -160,8 +160,8 @@ void main(int argc, char *argv[]) // Ensure that we have a "temp" directory fnSetupNamespace(); - if (access(DEFPERLTEMP, 0) != 0) - mkdir(DEFPERLTEMP); + if (access(NWDEFPERLTEMP, 0) != 0) + mkdir(NWDEFPERLTEMP); // Create the file NUL if not present. This is done only once per NLM load. // This is required for -e. @@ -176,7 +176,7 @@ void main(int argc, char *argv[]) { char sNUL[MAX_DN_BYTES] = {'\0'}; - strcpy(sNUL, DEFPERLROOT); + strcpy(sNUL, NWDEFPERLROOT); strcat(sNUL, "\\nul"); if (access((const char *)sNUL, 0) != 0) { @@ -308,7 +308,7 @@ void fnSigTermHandler(int sig) { char sNUL[MAX_DN_BYTES] = {'\0'}; - strcpy(sNUL, DEFPERLROOT); + strcpy(sNUL, NWDEFPERLROOT); strcat(sNUL, "\\nul"); if (access((const char *)sNUL, 0) == 0) { @@ -530,7 +530,7 @@ void fnLaunchPerl(void* context) { // get the default working directory name // - defaultDir = fnNwGetEnvironmentStr("PERL_ROOT", DEFPERLROOT); + defaultDir = fnNwGetEnvironmentStr("PERL_ROOT", NWDEFPERLROOT); } else defaultDir = getcwd(curdir, sizeof(curdir)-1); |