* cygwin/strsig.cc (__signals): New macro.
(sys_sigabbrev): New array of signal strings, patterned after linux. (siglist): Use __signals. * cygwin/include/cygwin/signal.h (sys_sigabbrev): Define. * cygwin/include/cygwin/version.h: Bump API minor version to 177. * utils/Makefile.in (kill.exe): Remove reliance on libiberty. * utils/kill.cc (strsigno): New function patterned after libiberty but using newly exported cygwin array.
This commit is contained in:
@@ -269,6 +269,8 @@ _sig_func_ptr sigset (int, _sig_func_ptr);
|
||||
|
||||
int sigqueue(pid_t, int, const union sigval);
|
||||
int siginterrupt (int, int);
|
||||
extern const char __declspec(dllimport) *sys_sigabbrev[];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@@ -317,12 +317,13 @@ details. */
|
||||
174: Export stpcpy, stpncpy.
|
||||
175: Export fdopendir.
|
||||
176: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm.
|
||||
177: Export sys_sigabbrev
|
||||
*/
|
||||
|
||||
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
||||
|
||||
#define CYGWIN_VERSION_API_MAJOR 0
|
||||
#define CYGWIN_VERSION_API_MINOR 176
|
||||
#define CYGWIN_VERSION_API_MINOR 177
|
||||
|
||||
/* There is also a compatibity version number associated with the
|
||||
shared memory regions. It is incremented when incompatible
|
||||
|
Reference in New Issue
Block a user