From ede47fe9021c5e5a7a71ed1da59604c978f4ba4b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 2 Jan 2004 22:53:12 +0000 Subject: [PATCH] Revert accidental commit. --- gdb/testsuite/gdb.base/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2