Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-05-18 18:52:38 +0400
committerChristopher Faylor <me@cgf.cx>2010-05-18 18:52:38 +0400
commit8f01c775162c36a092f044a26985f17f6c218662 (patch)
tree8727e8d00233945dfb248abdacc78960803af8e9 /newlib
parentd3258e063cb0a4fc77a76df3c91ba9841ca4971c (diff)
* libc/string/strsignal.c (strsignal): Avoid duplicate case statement where
SIGPWR == SIGLOST.
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;