diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-01-02 22:53:12 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-01-02 22:53:12 +0000 |
commit | ede47fe9021c5e5a7a71ed1da59604c978f4ba4b (patch) | |
tree | 5aefe10caa4c4351ebf879ac6ca0b830017a39de /gdb/testsuite/gdb.base/fileio.c | |
parent | ee84457a004c09e03aaabcd4d58ffcc2d58ea911 (diff) | |
download | gdb-ede47fe9021c5e5a7a71ed1da59604c978f4ba4b.zip gdb-ede47fe9021c5e5a7a71ed1da59604c978f4ba4b.tar.gz gdb-ede47fe9021c5e5a7a71ed1da59604c978f4ba4b.tar.bz2 |
Revert accidental commit.
Diffstat (limited to 'gdb/testsuite/gdb.base/fileio.c')
-rw-r--r-- | gdb/testsuite/gdb.base/fileio.c | 2 |
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); |