mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-20 02:30:23 +02:00
1999-09-18 Gary Houston <ghouston@freewire.co.uk>
* configure.in: use AC_SYS_RESTARTABLE_SYSCALLS instead of testing for SA_RESTART. 1999-09-18 Gary Houston <ghouston@freewire.co.uk> * _scm.h, scmsigs.c: replace HAVE_RESTARTS with HAVE_RESTARTABLE_SYSCALLS.
This commit is contained in:
parent
e684c60f44
commit
08b8c6948d
8 changed files with 148 additions and 107 deletions
|
@ -1,5 +1,8 @@
|
|||
1999-09-18 Gary Houston <ghouston@freewire.co.uk>
|
||||
|
||||
* _scm.h, scmsigs.c: replace HAVE_RESTARTS with
|
||||
HAVE_RESTARTABLE_SYSCALLS.
|
||||
|
||||
* strports.c (scm_strport_to_string): create the string from
|
||||
pt->read_buf instead of an expression that evaluates to the
|
||||
same thing.
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
when installing signal handlers.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_RESTARTS
|
||||
#ifdef HAVE_RESTARTABLE_SYSCALLS
|
||||
#define SCM_SYSCALL(line) line
|
||||
#endif
|
||||
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
/* Define if system calls automatically restart after interruption
|
||||
by a signal. */
|
||||
#undef HAVE_RESTARTABLE_SYSCALLS
|
||||
|
||||
/* Define if your struct stat has st_blksize. */
|
||||
#undef HAVE_ST_BLKSIZE
|
||||
|
||||
|
@ -140,9 +144,6 @@
|
|||
/* Define if dlsym automatically supplies a leading underscore. */
|
||||
#undef DLSYM_ADDS_USCORE
|
||||
|
||||
/* Define if the operating system can restart system calls. */
|
||||
#undef HAVE_RESTARTS
|
||||
|
||||
/* Define if the system supports Unix-domain (file-domain) sockets. */
|
||||
#undef HAVE_UNIX_DOMAIN_SOCKETS
|
||||
|
||||
|
|
|
@ -441,7 +441,7 @@ scm_init_scmsigs ()
|
|||
orig_handlers[i] = SIG_ERR;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_RESTARTS
|
||||
#ifdef HAVE_RESTARTABLE_SYSCALLS
|
||||
/* ensure that system calls will be restarted for all signals. */
|
||||
/* sigintterupt would be simpler, but it seems better to avoid
|
||||
dependency on another system call. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue