diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-01-07 16:39:02 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-01-07 16:39:02 +0000 |
commit | 60ad077b5afe8ae6b1ceed0baf0ae2ecc7aa0e14 (patch) | |
tree | 6db484e4bf6bfcdd7e1f1bfa886df157b4013ee1 /gdb/testsuite | |
parent | 1c9b8f3352e30328717399ad128d7284ba10361a (diff) | |
download | gdb-60ad077b5afe8ae6b1ceed0baf0ae2ecc7aa0e14.zip gdb-60ad077b5afe8ae6b1ceed0baf0ae2ecc7aa0e14.tar.gz gdb-60ad077b5afe8ae6b1ceed0baf0ae2ecc7aa0e14.tar.bz2 |
2004-01-07 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.c (strerrno): Add "EBUSY".
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??"; } } |