[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sys_siglist compatibility.
From: |
Jeff Bailey |
Subject: |
Re: sys_siglist compatibility. |
Date: |
Mon, 21 May 2001 21:37:13 -0700 |
User-agent: |
Mutt/1.2.5i |
On Tue, May 22, 2001 at 12:25:01AM -0400, Alain Magloire wrote:
> > Here are some observations:
> > 1. sys_siglist[], referenced in imap4d/signal.c might not be defined on
> > some systems.
>
> This was not suppose to be here but leftover from a debuging session. But now
> that you propose a patch .. ok. Since it is practicle to have a
> human readable message then the cryptic "Exiting on signal 3".
>
> Applied the propose patches with modif to use strsignal() and rename your
> signame.c to strsignal.c for platforms missing it.
>
> The rationale is that strsignal () provides better/some error checking to
> not over/underflow the sys_siglist [] array.
IIRC: sys_siglist[] is not in POSIX. strerror() is the best function.
strerror_r() is okay on GLIBC systems.
(This causes me much grief, since Hurd does not provide sys_siglist[])
- cmu-sieve: starting to work, patch about paths., Sam Roberts, 2001/05/10
- Re: cmu-sieve: starting to work, patch about paths., Alain Magloire, 2001/05/10
- Re: cmu-sieve: starting to work, patch about paths., Sergey Poznyakoff, 2001/05/10
- Re: cmu-sieve: starting to work, patch about paths., Sergey Poznyakoff, 2001/05/10
- Re: cmu-sieve: starting to work, patch about paths., Sam Roberts, 2001/05/11
- Re: cmu-sieve: starting to work, patch about paths., Alain Magloire, 2001/05/19
- sys_siglist compatibility., Sergey Poznyakoff, 2001/05/21
- Re: sys_siglist compatibility., Alain Magloire, 2001/05/22
- Re: sys_siglist compatibility.,
Jeff Bailey <=
- Re: sys_siglist compatibility., Alain Magloire, 2001/05/22
- Message not available
- Re: sys_siglist compatibility., Jeff Bailey, 2001/05/22
- Message not available
- Re: cmu-sieve: starting to work, patch about paths., Sam Roberts, 2001/05/27
- Re: cmu-sieve: starting to work, patch about paths., Alain Magloire, 2001/05/28
- Re: cmu-sieve: starting to work, patch about paths., Sam Roberts, 2001/05/29
- Re: cmu-sieve: starting to work, patch about paths., Alain Magloire, 2001/05/30
- Re: cmu-sieve: starting to work, patch about paths., Sam Roberts, 2001/05/30
auth_t/ticket_t() was (Re: cmu-sieve:starting to work, patch about paths, Alain Magloire, 2001/05/14