about summary refs log tree commit diff stats
path: root/src/LYHistory.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1997-09-03 10:10:50 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1997-09-03 10:10:50 -0400
commit73d5512d62200a263f3084bd869366326e445cf4 (patch)
tree0119cd9df4f21bfd10a32ba4614311b2d6dd5652 /src/LYHistory.c
parent8b30891ac5d40b970d9bbf48ed905fc225ee3bd7 (diff)
downloadlynx-snapshots-73d5512d62200a263f3084bd869366326e445cf4.tar.gz
snapshot of project "lynx", label v2-7-1ac_0-58
Diffstat (limited to 'src/LYHistory.c')
-rw-r--r--src/LYHistory.c4
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 */