aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-02 22:53:12 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-02 22:53:12 +0000
commitede47fe9021c5e5a7a71ed1da59604c978f4ba4b (patch)
tree5aefe10caa4c4351ebf879ac6ca0b830017a39de
parentee84457a004c09e03aaabcd4d58ffcc2d58ea911 (diff)
downloadgdb-ede47fe9021c5e5a7a71ed1da59604c978f4ba4b.zip
gdb-ede47fe9021c5e5a7a71ed1da59604c978f4ba4b.tar.gz
gdb-ede47fe9021c5e5a7a71ed1da59604c978f4ba4b.tar.bz2
Revert accidental commit.
-rw-r--r--gdb/testsuite/gdb.base/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c
index 9c40eb4..591b3b6 100644
--- a/gdb/testsuite/gdb.base/fileio.c
+++ b/gdb/testsuite/gdb.base/fileio.c
@@ -103,7 +103,7 @@ test_open ()
close (ret);
/* Open for write but no write permission */
errno = 0;
- ret = open (NOWRITE, O_CREAT | O_RDONLY, S_IRUSR);
+ ret = open (NOWRITE, O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR);
if (ret >= 0)
{
close (ret);