summaryrefslogtreecommitdiff
path: root/NetWare
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-05 13:42:29 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-05 13:42:29 +0000
commit728c2768590668c35dbcf237cec2e10d42c4cf41 (patch)
treee262c0e1a5f013f878531f4b43fcfde66df57c23 /NetWare
parent776b00a7bc9dd00537866358a47be2e07a70a235 (diff)
downloadperl-728c2768590668c35dbcf237cec2e10d42c4cf41.tar.gz
NetWare update from C Aditya.
p4raw-id: //depot/perl@15747
Diffstat (limited to 'NetWare')
-rw-r--r--NetWare/Makefile8
-rw-r--r--NetWare/Nwmain.c4
-rw-r--r--NetWare/nw5.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/NetWare/Makefile b/NetWare/Makefile
index 9e9af9f1d5..d1ae901229 100644
--- a/NetWare/Makefile
+++ b/NetWare/Makefile
@@ -942,7 +942,7 @@ $(EXTDIR)\DynaLoader\dl_netware.xs: dl_netware.xs
HEADERS :
@echo . . . . making stdio.h and string.h
- @copy << stdio.h >\nul
+ @copy << stdio.h >\nwnul
/*
* (C) Copyright 2001-2002 Novell Inc. All rights reserved.
@@ -979,7 +979,7 @@ HEADERS :
<<
@copy stdio.h $(COREDIR)
- @copy << string.h >\nul
+ @copy << string.h >\nwnul
/*
* (C) Copyright 2001-2002 Novell Inc. All rights reserved.
@@ -1017,7 +1017,7 @@ HEADERS :
@copy string.h $(COREDIR)
-$(NLM_NAME): MESSAGE HEADERS $(BLDDIR)\nul $(NLM_OBJ) $(NEWTARE_OBJ_DEP) $(PERL_IO_OBJ_DEP) $(PERL_LIB_OBJ_DEP) $(DLL_OBJ) .XDC $(PERLIMPLIB) $(EXT_MAIN_OBJ)
+$(NLM_NAME): MESSAGE HEADERS $(BLDDIR)\nwnul $(NLM_OBJ) $(NEWTARE_OBJ_DEP) $(PERL_IO_OBJ_DEP) $(PERL_LIB_OBJ_DEP) $(DLL_OBJ) .XDC $(PERLIMPLIB) $(EXT_MAIN_OBJ)
@echo======= Linking $@ at $(MAKEDIR)\$(BLDDIR) =======
!ifdef WATCOM
@$(NLM_LINK) @<<$(BLDDIR)\$*.link
@@ -1078,7 +1078,7 @@ Import @perl.imp
@echo======= Finished building $(BUILT).
# Create the debug\release directory if not existing
-$(BLDDIR)\nul:
+$(BLDDIR)\nwnul:
@echo . . . . mkdir $(BLDDIR)
@mkdir $(BLDDIR)
diff --git a/NetWare/Nwmain.c b/NetWare/Nwmain.c
index 9fb2e50845..ce901e6b95 100644
--- a/NetWare/Nwmain.c
+++ b/NetWare/Nwmain.c
@@ -177,7 +177,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.
@@ -309,7 +309,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 66ca348c1e..b217e1cf5f 100644
--- a/NetWare/nw5.c
+++ b/NetWare/nw5.c
@@ -581,8 +581,8 @@ nw_open(const char *path, int flag, ...)
pmode = va_arg(ap, int);
va_end(ap);
- if (stricmp(path, "/dev/null")==0)
- path = "NUL";
+ if (stricmp(path, "/dev/nul")==0)
+ path = "NWNUL";
return open(path, flag, pmode);
}