Mercurial > hg > octave-lojdl
changeset 4572:4623ef02a605
[project @ 2003-10-31 03:07:05 by jwe]
author | jwe |
---|---|
date | Fri, 31 Oct 2003 03:07:05 +0000 |
parents | ef4bdde0805d |
children | c8c06e5ef5db |
files | libcruft/misc/cquit.c libcruft/misc/f77-fcn.h libcruft/misc/quit.h |
diffstat | 3 files changed, 12 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/libcruft/misc/cquit.c +++ b/libcruft/misc/cquit.c @@ -53,13 +53,13 @@ #endif } -// Allow us to save the signal mask and then restore it to the most -// recently saved value. This is necessary when using the POSIX -// signal handling interface on some systems calling longjmp out of -// the signal handler to get to the top level on an interrupt doesn't -// restore the original signal mask. Alternatively, we could use -// sigsetjmp/siglongjmp, but saving and restoring the signal mask -// ourselves works ok and seems simpler just now. +/* Allow us to save the signal mask and then restore it to the most + recently saved value. This is necessary when using the POSIX + signal handling interface on some systems calling longjmp out of + the signal handler to get to the top level on an interrupt doesn't + restore the original signal mask. Alternatively, we could use + sigsetjmp/siglongjmp, but saving and restoring the signal mask + ourselves works ok and seems simpler just now. */ #if defined (HAVE_POSIX_SIGNALS) static sigset_t octave_signal_mask;
--- a/libcruft/misc/f77-fcn.h +++ b/libcruft/misc/f77-fcn.h @@ -98,8 +98,8 @@ #define F77_RET_T int #define F77_RETURN(retval) return retval; -// XXX FIXME XXX -- these should work for SV1 or Y-MP systems but will -// need to be changed for others. +/* XXX FIXME XXX -- these should work for SV1 or Y-MP systems but will + need to be changed for others. */ typedef union { @@ -159,7 +159,7 @@ #else -// Assume f2c-compatible calling convention +/* Assume f2c-compatible calling convention. */ #define F77_CHAR_ARG(x) x #define F77_CONST_CHAR_ARG(x) F77_CHAR_ARG (x)
--- a/libcruft/misc/quit.h +++ b/libcruft/misc/quit.h @@ -161,8 +161,8 @@ #ifdef __cplusplus } -// These should only be declared for C++ code, and should also be -// outside of any extern "C" block. +/* These should only be declared for C++ code, and should also be + outside of any extern "C" block. */ extern void (*octave_interrupt_hook) (void); extern void (*octave_bad_alloc_hook) (void);