Revert accidental commit.
authorAndrew Cagney <cagney@redhat.com>
Fri, 2 Jan 2004 22:53:12 +0000 (22:53 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 2 Jan 2004 22:53:12 +0000 (22:53 +0000)
gdb/testsuite/gdb.base/fileio.c

index 9c40eb4d3968a20d98a2a747814fdfaac736f8d9..591b3b67588921ceb513b6ba9655dc0599526149 100644 (file)
@@ -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);