This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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??";
     }
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]