]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/newlib-tumbl.git/commitdiff
* libc/string/strsignal.c (strsignal): Avoid duplicate case statement where
authorChristopher Faylor <cgf@redhat.com>
Tue, 18 May 2010 14:52:38 +0000 (14:52 +0000)
committerChristopher Faylor <cgf@redhat.com>
Tue, 18 May 2010 14:52:38 +0000 (14:52 +0000)
SIGPWR == SIGLOST.

newlib/ChangeLog
newlib/libc/string/strsignal.c

index b6d00e32c21c8e3e7dc60b394dcae6479bf5a502..2198789eac1abbd8999ca6b36bd5086dedc2e8c1 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-18  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * libc/string/strsignal.c (strsignal): Avoid duplicate case statement
+       where SIGPWR == SIGLOST.
+
 2010-05-11  Jeff Johnston  <jjohnstn@redhat.com>
 
        * libc/stdlib/__call_atexit.c: Fix lock to be of type
index 6d39e8b755e5b97b51fe360d080dbab0c8be11c5..2173f1565b364433571f6f19f566d1dcc8961d69 100644 (file)
@@ -50,7 +50,7 @@ QUICKREF
  *  OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
  *  SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  *
- *  $Id$
+ *  $Id: strsignal.c,v 1.1 2010/05/11 20:27:20 jjohnstn Exp $
  */
 
 #include <string.h>
@@ -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;