projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee84457
)
Revert accidental commit.
author
Andrew Cagney
<cagney@redhat.com>
Fri, 2 Jan 2004 22:53:12 +0000
(22:53 +0000)
committer
Andrew Cagney
<cagney@redhat.com>
Fri, 2 Jan 2004 22:53:12 +0000
(22:53 +0000)
gdb/testsuite/gdb.base/fileio.c
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.base/fileio.c
b/gdb/testsuite/gdb.base/fileio.c
index 9c40eb4d3968a20d98a2a747814fdfaac736f8d9..591b3b67588921ceb513b6ba9655dc0599526149 100644
(file)
--- 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);