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.
<<
@copy stdio.h $(COREDIR)
- @copy << string.h >\nul
+ @copy << string.h >\nwnul
/*
* (C) Copyright 2001-2002 Novell Inc. All rights reserved.
@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
@echo======= Finished building $(BUILT).
# Create the debug\release directory if not existing
-$(BLDDIR)\nul:
+$(BLDDIR)\nwnul:
@echo . . . . mkdir $(BLDDIR)
@mkdir $(BLDDIR)
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.
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.
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);
}
# else
# ifdef NETWARE
# define PERL_SYS_INIT(c,v) Perl_nw5_init(c,v)
-# define BIT_BUCKET "nul"
+# define BIT_BUCKET "nwnul"
# else
# define PERL_SYS_INIT(c,v)
# define BIT_BUCKET "\\dev\\nul" /* "wanna be like, umm, Newlined, or somethin?" */