OSDN Git Service

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 1b9bf82..c53537d 100644 (file)
@@ -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.
index 9c40eb4..4fda0fd 100644 (file)
@@ -479,6 +479,9 @@ strerrno (int err)
 #ifdef ENOTEMPTY
     case ENOTEMPTY: return "ENOTEMPTY";
 #endif
+#ifdef EBUSY
+    case EBUSY: return "EBUSY";
+#endif
     default: return "E??";
     }
 }