OSDN Git Service

* include/cygwin/signal.h: Define SIGPWR as synonym for SIGLOST.
authoryselkowitz <yselkowitz>
Fri, 26 Feb 2010 14:43:49 +0000 (14:43 +0000)
committeryselkowitz <yselkowitz>
Fri, 26 Feb 2010 14:43:49 +0000 (14:43 +0000)
* strsig.cc: Ditto.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.

winsup/cygwin/ChangeLog
winsup/cygwin/include/cygwin/signal.h
winsup/cygwin/include/cygwin/version.h
winsup/cygwin/strsig.cc

index a7c9e50..9943b79 100644 (file)
@@ -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.
index a3cc90b..25d501d 100644 (file)
@@ -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 */
 
index 44d6604..7aeee31 100644 (file)
@@ -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
index 8bc8c1c..1ca9af1 100644 (file)
@@ -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 */ \