about summary refs log tree commit diff stats
path: root/src/LYShowInfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYShowInfo.c')
-rw-r--r--src/LYShowInfo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/LYShowInfo.c b/src/LYShowInfo.c
index 2d167ee9..a3297b7d 100644
--- a/src/LYShowInfo.c
+++ b/src/LYShowInfo.c
@@ -66,13 +66,10 @@ PUBLIC int showinfo ARGS4(
 #endif /* VMS */
     }
 
-    if ((fp0 = fopen(tempfile, "w")) == NULL) {
+    if ((fp0 = LYNewTxtFile(tempfile)) == NULL) {
         HTAlert(CANNOT_OPEN_TEMP);
         return(0);
     }
-#ifndef __DJGPP__   
-    chmod(tempfile, 0600);
-#endif /* __DJGPP__ */ 
 
     /*
      *  Point the address pointer at this Url