diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-22 15:15:22 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-22 15:15:22 +0000 |
commit | 011f1a1a00b94fe919083a224d5df636f05ae32a (patch) | |
tree | cd77ae1fdc3803f999aabf2d8c618c7a1a9a0a76 /NetWare/Nwmain.c | |
parent | e41d30bc98dce1dea5c4a5747bd838c25bdeda5d (diff) | |
download | perl-011f1a1a00b94fe919083a224d5df636f05ae32a.tar.gz |
NetWare changeover from Watcom to Codewarrior, from C Aditya.
p4raw-id: //depot/perl@16076
Diffstat (limited to 'NetWare/Nwmain.c')
-rw-r--r-- | NetWare/Nwmain.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/NetWare/Nwmain.c b/NetWare/Nwmain.c index ce901e6b95..029c24948d 100644 --- a/NetWare/Nwmain.c +++ b/NetWare/Nwmain.c @@ -119,7 +119,11 @@ int fnFpSetMode(FILE* fp, int mode, int *err); void fnGetPerlScreenName(char *sPerlScreenName); - +void fnGetPerlScreenName(char *sPerlScreenName); +void fnSetupNamespace(void); +char *getcwd(char [], int); +void fnRunScript(ScriptData* psdata); +void nw_freeenviron(); /*============================================================================================ @@ -177,7 +181,7 @@ void main(int argc, char *argv[]) char sNUL[MAX_DN_BYTES] = {'\0'}; strcpy(sNUL, NWDEFPERLROOT); - strcat(sNUL, "\\nwnul"); + strcat(sNUL, "\\nul"); if (access((const char *)sNUL, 0) != 0) { // The file, "nul" is not found and so create the file. @@ -299,7 +303,7 @@ void fnSigTermHandler(int sig) // while (!fnTerminateThreadInfo() && k < 5) { - sleep(1); + nw_sleep(1); k++; } } @@ -309,7 +313,7 @@ void fnSigTermHandler(int sig) char sNUL[MAX_DN_BYTES] = {'\0'}; strcpy(sNUL, NWDEFPERLROOT); - strcat(sNUL, "\\nwnul"); + strcat(sNUL, "\\nul"); if (access((const char *)sNUL, 0) == 0) { // The file, "nul" is found and so delete it. |