This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Add EBUSY to strerror in testsuite fileio.c
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 07 Jan 2004 11:40:40 -0500
- Subject: [commit] Add EBUSY to strerror in testsuite fileio.c
FYI,
I just committed this. It adds EBUSY to the custom strerror found in
fileio.c
Andrew
2004-01-07 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.c (strerrno): Add "EBUSY".
Index: gdb.base/fileio.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/fileio.c,v
retrieving revision 1.5
diff -u -r1.5 fileio.c
--- gdb.base/fileio.c 7 Jan 2004 16:02:27 -0000 1.5
+++ gdb.base/fileio.c 7 Jan 2004 16:38:17 -0000
@@ -479,6 +479,9 @@
#ifdef ENOTEMPTY
case ENOTEMPTY: return "ENOTEMPTY";
#endif
+#ifdef EBUSY
+ case EBUSY: return "EBUSY";
+#endif
default: return "E??";
}
}