diff options
Diffstat (limited to 'libguile')
-rw-r--r-- | libguile/ChangeLog | 3 | ||||
-rw-r--r-- | libguile/_scm.h | 2 | ||||
-rw-r--r-- | libguile/scmconfig.h.in | 7 | ||||
-rw-r--r-- | libguile/scmsigs.c | 2 |
4 files changed, 9 insertions, 5 deletions
diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 7cd349f22..1f1fdf319 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -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. diff --git a/libguile/_scm.h b/libguile/_scm.h index d8662881d..7bc1ce1e5 100644 --- a/libguile/_scm.h +++ b/libguile/_scm.h @@ -83,7 +83,7 @@ when installing signal handlers. */ -#ifdef HAVE_RESTARTS +#ifdef HAVE_RESTARTABLE_SYSCALLS #define SCM_SYSCALL(line) line #endif diff --git a/libguile/scmconfig.h.in b/libguile/scmconfig.h.in index 0f330e713..e938d1326 100644 --- a/libguile/scmconfig.h.in +++ b/libguile/scmconfig.h.in @@ -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 diff --git a/libguile/scmsigs.c b/libguile/scmsigs.c index f8daff4ef..ede2df30e 100644 --- a/libguile/scmsigs.c +++ b/libguile/scmsigs.c @@ -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. */ |