about summary refs log tree commit diff stats
path: root/src/LYLocal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYLocal.c')
-rw-r--r--src/LYLocal.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/LYLocal.c b/src/LYLocal.c
index df518553..9fcfe2e9 100644
--- a/src/LYLocal.c
+++ b/src/LYLocal.c
@@ -1147,7 +1147,9 @@ PRIVATE BOOLEAN permit_location ARGS3(
 	    sleep(AlertSecs);
 	    return(0);
 	}
+#ifndef __DJGPP__    
 	chmod(tempfile, 0600);
+#endif /* __DJGPP__ */ 
 	
 	if (first) {
 	    /*
@@ -1348,7 +1350,8 @@ form to permit %s %s.\n</Ol>\n</Form>\n",
 	    
 	    cp = cr;
 	}
-	
+
+#ifndef __DJGPP__ 	
 	/*
 	 *  Call chmod().
 	 */
@@ -1361,6 +1364,7 @@ form to permit %s %s.\n</Ol>\n</Form>\n",
 	if (LYExecv(CHMOD_PATH, args, tmpbuf) <= 0) {
 	    return (-1);
 	}
+#endif /* __DJGPP__ */ 
 	LYforce_no_cache = TRUE;	/* Force update of dired listing. */
 	return 1;
     }
@@ -1703,7 +1707,9 @@ PUBLIC int dired_options ARGS2(
 	sleep(AlertSecs);
 	return(0);
     }
+#ifndef __DJGPP__
     chmod(tempfile, 0600);
+#endif /* __DJGPP__ */   
     
     if (first) {
 	/*