Bugs item #408108, was updated on 2001-03-12 18:55
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=408108&group_id=10493
Category: build
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 1
Submitted By: Brian D. Carlstrom (bdc)
Assigned to: Mike Sperber (sperber)
Summary: Attached is the AIX signals1.c plus two
Initial Comment:
Mike,
this is an OLD report from you, can you just confirm
that you made tha changes?
From: sperber@informatik.uni-tuebingen.de (Michael
Sperber [Mr. Preprocessor])
Sender: sperber@informatik.uni-tuebingen.de
To: "Brian D. Carlstrom" <bdc@ai.mit.edu>
Subject: Re: new fix from olin ... new prerelease
Date: 11 Mar 1997 11:14:10 +0100
--Multipart_Tue_Mar_11_11:14:10_1997-1
Content-Type: text/plain; charset=US-ASCII
Attached is the AIX signals1.c plus two patchlets.
Cheers =8-} Mike
--Multipart_Tue_Mar_11_11:14:10_1997-1
Content-Type: text/plain; charset=US-ASCII
*** Makefile.in~ Sun Mar 9 08:25:06 1997
--- Makefile.in Tue Mar 11 11:11:39 1997
***************
*** 639,650 ****
echo ",load $(srcdir)/scsh/scsh-package.scm";
\
echo ",load-package scsh"; \
echo ",load-package scsh-here-string-hax"; \
echo ",translate =scheme48/ $(LIB)/"; \
echo ",in scsh-level-0"; \
echo "(%install-scsh-handlers)"; \
echo "(autoreap-policy 'early)"; \
echo ",user"; \
- echo ",load-package floatnums"; \
echo ",open floatnums"; \
echo ",open scsh"; \
echo "(dump-scsh \scsh/scsh.image\)") \
--- 639,650 ----
echo ",load $(srcdir)/scsh/scsh-package.scm";
\
echo ",load-package scsh"; \
echo ",load-package scsh-here-string-hax"; \
+ echo ",load-package floatnums"; \
echo ",translate =scheme48/ $(LIB)/"; \
echo ",in scsh-level-0"; \
echo "(%install-scsh-handlers)"; \
echo "(autoreap-policy 'early)"; \
echo ",user"; \
echo ",open floatnums"; \
echo ",open scsh"; \
echo "(dump-scsh \scsh/scsh.image\)") \
*** scsh/sleep1.c~ Sun Mar 9 08:22:34 1997
--- scsh/sleep1.c Tue Mar 11 11:06:56 1997
***************
*** 1,5 ****
--- 1,13 ----
+ #include "sysdep.h"
+
#include <sys/types.h>
#include <sys/time.h>
+ #if defined(HAVE_SELECT)
+ # include <sys/types.h> /* for FD_SET and
friends (BSD) */
+ #if defined(HAVE_SYS_SELECT_H)
+ # include <sys/select.h>
+ #endif
+ #endif
#include <unistd.h>
#include <time.h>
#include "../scheme48.h"
--Multipart_Tue_Mar_11_11:14:10_1997-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="signals1.c"
Content-Transfer-Encoding: 7bit
/* Need to turn off synchronous error signals
(SIGPIPE, SIGSYS). */
#include "../scsh_aux.h"
/* Make sure our exports match up w/the
implementation: */
#include "../signals1.h"
/* This table converts Unix signal numbers to S48/scsh
interrupt numbers.
** If the signal doesn't have an interrupt number, the
entry is -1.
** (Only asynchronous signals have interrupt numbers.)
**
** Note that we bake into this table the integer
values of the signals --
** i.e., we assume that SIGHUP=1, SIGALRM=15, etc. So
this definition is
** very system-dependent.
*/
const int sig2int[] = {
-1, /* 0 is not a signal */
scshint_hup, /* SIGHUP */
scshint_keyboard, /* SIGINT */
scshint_quit, /* SIGQUIT */
-1, /* SIGILL */
-1, /* SIGTRAP */
-1, /* SIGABRT & SIGIOT */
-1, /* SIGEMT */
-1, /* SIGFPE */
-1, /* SIGKILL */
-1, /* SIGBUS */
-1, /* SIGSEGV */
-1, /* SIGSYS */
-1, /* SIGPIPE */
scshint_alarm, /* SIGALRM */
scshint_term, /* SIGTERM */
scshint_urg, /* SIGURG */
-1, /* SIGSTOP */
scshint_tstp, /* SIGTSTP */
scshint_cont, /* SIGCONT */
scshint_chld, /* SIGCHLD */
-1, /* scshint_ttyin, /* SIGTTIN */
-1, /* scshint_ttou, /* SIGTTOU */
scshint_io, /* SIGIO */
scshint_xcpu, /* SIGXCPU */
scshint_xfsz, /* SIGXFSZ */
-1, /* SIGMSG */
scshint_winch, /* SIGWINCH */
scshint_pwr, /* SIGPWR */
scshint_usr1, /* SIGUSR1 */
scshint_usr2, /* SIGUSR2 */
scshint_prof, /* SIGPROF */
-1, /* SIGDANGER */
scshint_vtalrm, /* SIGVTALRM */
-1, /* SIGMIGRATE */
-1, /* SIGPRE */
-1, /* SIGVIRT */
-1, /* SIGALRM1 */
-1 /* SIGWAITING */
};
const int max_sig = 39; /* SIGWAITING */
/*
scshint_alarm
scshint_keyboard
scshint_memory_shortage
scshint_chld
scshint_cont
scshint_hup
scshint_quit
scshint_term
scshint_tstp
scshint_usr1
scshint_usr2
scshint_info
scshint_io
scshint_poll
scshint_prof
scshint_pwr
scshint_urg
scshint_vtalrm
scshint_winch
scshint_xcpu
scshint_xfsz
SIGALRM
SIGCHLD
SIGCONT
SIGHUP
SIGINFO
SIGINT
SIGIO
SIGPROF
SIGQUIT
SIGTERM
SIGTSTP
SIGTTIN
SIGTTOU
SIGURG
SIGUSR1
SIGUSR2
SIGVTALRM
SIGWINCH
SIGXCPU
SIGXFSZ
SIGHUP 1
SIGINT 2
SIGQUIT 3
SIGILL 4
SIGTRAP 5
SIGABRT 6
SIGIOT SIGABRT
SIGEMT 7
SIGFPE 8
SIGKILL 9
SIGBUS 10
SIGSEGV 11
SIGSYS 12
SIGPIPE 13
SIGALRM 14
SIGTERM 15
SIGURG 16
SIGSTOP 17
SIGTSTP 18
SIGCONT 19
SIGCHLD 20
SIGTTIN 21
SIGTTOU 22
SIGIO 23
SIGXCPU 24
SIGXFSZ 25
SIGVTALRM 26
SIGPROF 27
SIGWINCH 28
SIGINFO 29
SIGUSR1 30
SIGUSR2 31
*/
--Multipart_Tue_Mar_11_11:14:10_1997-1
Content-Type: text/plain; charset=US-ASCII
--Multipart_Tue_Mar_11_11:14:10_1997-1--
----------------------------------------------------------------------
>Comment By: Mike Sperber (sperber)
Date: 2001-06-06 04:36
Message:
Logged In: YES
user_id=43931
This has long been in the codebase.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=408108&group_id=10493
|