summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/string/strsignal.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index b6d00e32c..2198789ea 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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
diff --git a/newlib/libc/string/strsignal.c b/newlib/libc/string/strsignal.c
index 6d39e8b75..e03c1086b 100644
--- a/newlib/libc/string/strsignal.c
+++ b/newlib/libc/string/strsignal.c
@@ -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;