2004-01-07 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 7 Jan 2004 16:39:02 +0000 (16:39 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 7 Jan 2004 16:39:02 +0000 (16:39 +0000)
* gdb.base/fileio.c (strerrno): Add "EBUSY".

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/fileio.c

index 1b9bf82182df8179d99bb97e77d82ae2b1e33890..c53537d895a48f08eb577527f3661421e8ba8c0f 100644 (file)
@@ -1,3 +1,7 @@
+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"
index 9c40eb4d3968a20d98a2a747814fdfaac736f8d9..4fda0fd80a31a51cd038bac4bfd97b0256e9e5e2 100644 (file)
@@ -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??";
     }