diff options
Diffstat (limited to 'src/LYUpload.c')
-rw-r--r-- | src/LYUpload.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LYUpload.c b/src/LYUpload.c index 1623a414..2259d55f 100644 --- a/src/LYUpload.c +++ b/src/LYUpload.c @@ -198,7 +198,9 @@ retry: system(cmd); fflush(stdout); start_curses(); +#ifndef __DJGPP__ chmod(buffer, 0600); +#endif /* __DJGPP__ */ /* don't remove(file); */ return 1; @@ -252,7 +254,9 @@ PUBLIC int LYUpload_options ARGS2( HTAlert(CANNOT_OPEN_TEMP); return(-1); } +#ifndef __DJGPP__ chmod(tempfile, 0600); +#endif /* __DJGPP__ */ #ifdef VMS strcpy(curloc, "/sys$login"); |