diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/fileio.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1b9bf82..c53537d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2004-01-07 Andrew Cagney <cagney@redhat.com> + * gdb.base/fileio.c (strerrno): Add "EBUSY". + +2004-01-07 Andrew Cagney <cagney@redhat.com> + * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open" when creating the read-only file. From analysis by Roland McGrath and Elena Zannoni. diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c index 9c40eb4..4fda0fd 100644 --- a/gdb/testsuite/gdb.base/fileio.c +++ b/gdb/testsuite/gdb.base/fileio.c @@ -479,6 +479,9 @@ strerrno (int err) #ifdef ENOTEMPTY case ENOTEMPTY: return "ENOTEMPTY"; #endif +#ifdef EBUSY + case EBUSY: return "EBUSY"; +#endif default: return "E??"; } } |