* 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:
Christopher Faylor 2002-11-15 19:04:36 +00:00
parent 4b9ddc7dc9
commit f319cb1ad3
4 changed files with 27 additions and 1 deletions

View File

@ -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>
* select.cc (peek_serial): Don't call PurgeComm() to avoid characters

View File

@ -740,6 +740,8 @@ sigemptyset
_sigemptyset = sigemptyset
sigfillset
_sigfillset = sigfillset
siginterrupt
_siginterrupt = siginterrupt
signal
_signal = signal
significand

View File

@ -162,12 +162,13 @@ details. */
62: Erroneously bumped.
63: Export pututline.
64: Export fseeko, ftello
65: Export fseeko, ftello
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#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
shared memory regions. It is incremented when incompatible

View File

@ -407,3 +407,16 @@ pause (void)
{
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);
}