diff options
Diffstat (limited to 'src/LYHistory.c')
-rw-r--r-- | src/LYHistory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LYHistory.c b/src/LYHistory.c index 9f815d2f..5a63061e 100644 --- a/src/LYHistory.c +++ b/src/LYHistory.c @@ -425,7 +425,9 @@ PUBLIC int showhistory ARGS1( HTAlert(CANNOT_OPEN_TEMP); return(-1); } +#ifndef __DJGPP__ chmod(tempfile, 0600); +#endif /* __DJGPP__ */ StrAllocCopy(*newfile, hist_filename); LYforce_HTML_mode = TRUE; /* force this file to be HTML */ @@ -587,7 +589,9 @@ PUBLIC int LYShowVisitedLinks ARGS1( HTAlert(CANNOT_OPEN_TEMP); return(-1); } +#ifndef __DJGPP__ chmod(tempfile, 0600); +#endif /* __DJGPP__ */ StrAllocCopy(*newfile, vl_filename); LYforce_HTML_mode = TRUE; /* force this file to be HTML */ |