From 60ad077b5afe8ae6b1ceed0baf0ae2ecc7aa0e14 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 7 Jan 2004 16:39:02 +0000 Subject: [PATCH] 2004-01-07 Andrew Cagney * gdb.base/fileio.c (strerrno): Add "EBUSY". --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/fileio.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1b9bf82182d..c53537d895a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-01-07 Andrew Cagney + + * gdb.base/fileio.c (strerrno): Add "EBUSY". + 2004-01-07 Andrew Cagney * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open" diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c index 9c40eb4d396..4fda0fd80a3 100644 --- a/gdb/testsuite/gdb.base/fileio.c +++ b/gdb/testsuite/gdb.base/fileio.c @@ -478,6 +478,9 @@ strerrno (int err) #endif #ifdef ENOTEMPTY case ENOTEMPTY: return "ENOTEMPTY"; +#endif +#ifdef EBUSY + case EBUSY: return "EBUSY"; #endif default: return "E??"; } -- 2.30.2