From: Andrew Cagney Date: Fri, 2 Jan 2004 22:53:12 +0000 (+0000) Subject: Revert accidental commit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ede47fe9021c5e5a7a71ed1da59604c978f4ba4b;p=binutils-gdb.git Revert accidental commit. --- diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c index 9c40eb4d396..591b3b67588 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);