summaryrefslogtreecommitdiff
path: root/NetWare
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-23 13:35:03 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-23 13:35:03 +0000
commit2ea608c3f78bc6db4c0ea609ab28e63d259f73ee (patch)
treedb3a8a1a89a62cd2c96c6df8542885ac38420502 /NetWare
parent2797576d12630c11198ca4b6cd994c3e19902802 (diff)
downloadperl-2ea608c3f78bc6db4c0ea609ab28e63d259f73ee.tar.gz
NetWare tweak from C Aditya.
p4raw-id: //depot/perl@16104
Diffstat (limited to 'NetWare')
-rw-r--r--NetWare/Nwmain.c4
-rw-r--r--NetWare/nw5.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/NetWare/Nwmain.c b/NetWare/Nwmain.c
index 029c24948d..219ab6cd7a 100644
--- a/NetWare/Nwmain.c
+++ b/NetWare/Nwmain.c
@@ -181,7 +181,7 @@ void main(int argc, char *argv[])
char sNUL[MAX_DN_BYTES] = {'\0'};
strcpy(sNUL, NWDEFPERLROOT);
- strcat(sNUL, "\\nul");
+ strcat(sNUL, "\\nwnul");
if (access((const char *)sNUL, 0) != 0)
{
// The file, "nul" is not found and so create the file.
@@ -313,7 +313,7 @@ void fnSigTermHandler(int sig)
char sNUL[MAX_DN_BYTES] = {'\0'};
strcpy(sNUL, NWDEFPERLROOT);
- strcat(sNUL, "\\nul");
+ strcat(sNUL, "\\nwnul");
if (access((const char *)sNUL, 0) == 0)
{
// The file, "nul" is found and so delete it.
diff --git a/NetWare/nw5.c b/NetWare/nw5.c
index ea6d849951..5fe6ad3b16 100644
--- a/NetWare/nw5.c
+++ b/NetWare/nw5.c
@@ -582,7 +582,7 @@ nw_open(const char *path, int flag, ...)
va_end(ap);
if (stricmp(path, "/dev/null")==0)
- path = "NUL";
+ path = "NWNUL";
return open(path, flag, pmode);
}