[PATCH] Avoid duplicate case statement
Christopher Faylor
cgf-use-the-mailinglist-please@sourceware.org
Wed May 19 18:40:00 GMT 2010
I'm submitting the below as obvious so that Cygwin builds again.
cgf
2010-05-18 Christopher Faylor <me+cygwin@cgf.cx>
* libc/string/strsignal.c (strsignal): Avoid duplicate case statement
where SIGPWR == SIGLOST.
Index: libc/string/strsignal.c
===================================================================
RCS file: /cvs/uberbaum/newlib/libc/string/strsignal.c,v
retrieving revision 1.1
diff -d -u -p -r1.1 strsignal.c
--- libc/string/strsignal.c 11 May 2010 20:27:20 -0000 1.1
+++ libc/string/strsignal.c 18 May 2010 14:50:47 -0000
@@ -242,7 +242,7 @@ _DEFUN (strsignal, (signal),
buffer = "Profiling timer expired";
break;
#endif
-#ifdef SIGLOST
+#if defined(SIGLOST) && SIGLOST != SIGPWR
case SIGLOST:
buffer = "Resource lost";
break;
More information about the Newlib
mailing list