* include/cygwin/version.h: Bump API_MINOR to accommodate below changes.
* cygwin.din (siginterrupt): New export. * signal.cc (siginterrupt): New.
This commit is contained in:
parent
4b9ddc7dc9
commit
f319cb1ad3
|
@ -1,3 +1,13 @@
|
||||||
|
2002-11-15 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* include/cygwin/version.h: Bump API_MINOR to accommodate below
|
||||||
|
changes.
|
||||||
|
|
||||||
|
002-11-14 Sergey Okhapkin <sos@prospect.com.ru>
|
||||||
|
|
||||||
|
* cygwin.din (siginterrupt): New export.
|
||||||
|
* signal.cc (siginterrupt): New.
|
||||||
|
|
||||||
2002-11-15 Sergey Okhapkin <sos@prospect.com.ru>
|
2002-11-15 Sergey Okhapkin <sos@prospect.com.ru>
|
||||||
|
|
||||||
* select.cc (peek_serial): Don't call PurgeComm() to avoid characters
|
* select.cc (peek_serial): Don't call PurgeComm() to avoid characters
|
||||||
|
|
|
@ -740,6 +740,8 @@ sigemptyset
|
||||||
_sigemptyset = sigemptyset
|
_sigemptyset = sigemptyset
|
||||||
sigfillset
|
sigfillset
|
||||||
_sigfillset = sigfillset
|
_sigfillset = sigfillset
|
||||||
|
siginterrupt
|
||||||
|
_siginterrupt = siginterrupt
|
||||||
signal
|
signal
|
||||||
_signal = signal
|
_signal = signal
|
||||||
significand
|
significand
|
||||||
|
|
|
@ -162,12 +162,13 @@ details. */
|
||||||
62: Erroneously bumped.
|
62: Erroneously bumped.
|
||||||
63: Export pututline.
|
63: Export pututline.
|
||||||
64: Export fseeko, ftello
|
64: Export fseeko, ftello
|
||||||
|
65: Export fseeko, ftello
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
||||||
|
|
||||||
#define CYGWIN_VERSION_API_MAJOR 0
|
#define CYGWIN_VERSION_API_MAJOR 0
|
||||||
#define CYGWIN_VERSION_API_MINOR 64
|
#define CYGWIN_VERSION_API_MINOR 65
|
||||||
|
|
||||||
/* There is also a compatibity version number associated with the
|
/* There is also a compatibity version number associated with the
|
||||||
shared memory regions. It is incremented when incompatible
|
shared memory regions. It is incremented when incompatible
|
||||||
|
|
|
@ -407,3 +407,16 @@ pause (void)
|
||||||
{
|
{
|
||||||
return handle_sigsuspend (myself->getsigmask ());
|
return handle_sigsuspend (myself->getsigmask ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C" int
|
||||||
|
siginterrupt (int sig, int flag)
|
||||||
|
{
|
||||||
|
struct sigaction act;
|
||||||
|
(void)sigaction(sig, NULL, &act);
|
||||||
|
if (flag)
|
||||||
|
act.sa_flags &= ~SA_RESTART;
|
||||||
|
else
|
||||||
|
act.sa_flags |= SA_RESTART;
|
||||||
|
return sigaction(sig, &act, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue