changeset 7675:4767bfeb097d

(openp): Don't use O_RDONLY.
author Richard M. Stallman <rms@gnu.org>
date Wed, 25 May 1994 04:36:48 +0000
parents 947d24fefd9e
children 5b8a573e9f69
files src/lread.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Wed May 25 03:59:06 1994 +0000
+++ b/src/lread.c	Wed May 25 04:36:48 1994 +0000
@@ -562,7 +562,7 @@
 	      if (exec_only)
 		fd = (access (fn, X_OK) == 0) ? 1 : -1;
 	      else
-		fd = open (fn, O_RDONLY, 0);
+		fd = open (fn, 0, 0);
 
 	      if (fd >= 0)
 		{