From: Jarkko Hietaniemi Date: Tue, 23 Apr 2002 13:35:03 +0000 (+0000) Subject: NetWare tweak from C Aditya. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2ea608c3f78bc6db4c0ea609ab28e63d259f73ee;p=p5sagit%2Fp5-mst-13.2.git NetWare tweak from C Aditya. p4raw-id: //depot/perl@16104 --- diff --git a/NetWare/Nwmain.c b/NetWare/Nwmain.c index 029c249..219ab6c 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 ea6d849..5fe6ad3 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); }