NetWare tweak from C Aditya.
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 23 Apr 2002 13:35:03 +0000 (13:35 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 23 Apr 2002 13:35:03 +0000 (13:35 +0000)
p4raw-id: //depot/perl@16104

NetWare/Nwmain.c
NetWare/nw5.c

index 029c249..219ab6c 100644 (file)
@@ -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.
index ea6d849..5fe6ad3 100644 (file)
@@ -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);
 }