From 73d5512d62200a263f3084bd869366326e445cf4 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Wed, 3 Sep 1997 10:10:50 -0400 Subject: snapshot of project "lynx", label v2-7-1ac_0-58 --- src/LYHistory.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/LYHistory.c') 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 */ -- cgit 1.4.1-2-gfad0