diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2010-02-26 05:43:50 +0000 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2010-02-26 05:43:50 +0000 |
commit | 0512608dbc4ee38b871f686eb7435b4445d5ed9f (patch) | |
tree | e5abc66d033048ab08c46b0541ed40d976da7688 /winsup | |
parent | 1550b620c93c17fd1d0cb05797ad8f7435c4f60c (diff) | |
download | newlib-0512608dbc4ee38b871f686eb7435b4445d5ed9f.zip newlib-0512608dbc4ee38b871f686eb7435b4445d5ed9f.tar.gz newlib-0512608dbc4ee38b871f686eb7435b4445d5ed9f.tar.bz2 |
* include/cygwin/signal.h: Define SIGPWR as synonym for SIGLOST.
* strsig.cc: Ditto.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/signal.h | 1 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 | ||||
-rw-r--r-- | winsup/cygwin/strsig.cc | 3 |
4 files changed, 11 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a7c9e50..9943b79 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2010-02-25 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> + + * include/cygwin/signal.h: Define SIGPWR as synonym for SIGLOST. + * strsig.cc: Ditto. + * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR. + 2010-02-25 Corinna Vinschen <corinna@vinschen.de> * lc_era.h (lc_era_t): Fix apparent glibc bug in ja_JP era definition. diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h index a3cc90b..25d501d 100644 --- a/winsup/cygwin/include/cygwin/signal.h +++ b/winsup/cygwin/include/cygwin/signal.h @@ -250,6 +250,7 @@ struct sigaction #define SIGPROF 27 /* profiling time alarm */ #define SIGWINCH 28 /* window changed */ #define SIGLOST 29 /* resource lost (eg, record-lock lost) */ +#define SIGPWR SIGLOST /* power failure */ #define SIGUSR1 30 /* user defined signal 1 */ #define SIGUSR2 31 /* user defined signal 2 */ diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 44d6604..7aeee31 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -376,12 +376,13 @@ details. */ 220: Export accept4, SOCK_CLOEXEC, SOCK_NONBLOCK. 221: Export strfmon. 222: CW_INT_SETLOCALE added. + 223: SIGPWR added. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 222 +#define CYGWIN_VERSION_API_MINOR 223 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/strsig.cc b/winsup/cygwin/strsig.cc index 8bc8c1c..1ca9af1 100644 --- a/winsup/cygwin/strsig.cc +++ b/winsup/cygwin/strsig.cc @@ -49,7 +49,8 @@ struct sigdesc _s(SIGVTALRM, "Virtual timer expired"), /* 26 */ \ _s(SIGPROF, "Profiling timer expired"), /* 27 */ \ _s(SIGWINCH, "Window changed"), /* 28 */ \ - _s(SIGLOST, "Resource lost"), /* 29 */ \ + _s2(SIGPWR, "Power failure", /* 29 */ \ + SIGLOST, "Resource lost"), \ _s(SIGUSR1, "User defined signal 1"), /* 30 */ \ _s(SIGUSR2, "User defined signal 2"), /* 31 */ \ _s2(SIGRTMIN, "Real-time signal 0", /* 32 */ \ |