summaryrefslogtreecommitdiff
path: root/lib/libedit/sig.c
AgeCommit message (Collapse)Author
2023-02-03Don't clear the handle to el "sel" and set it earlier to prevent handlingchristos
a signal before the handle is set. (From: des at FreeBSD)
2016-05-09s/protected/libedit_private/gchristos
2016-04-11Get rid of private/public; keep protected (Ingo Schwarze)christos
2016-02-16more include file cleanup (Ingo Schwarze)christos
2016-02-16include errno.hchristos
2016-02-16From Ingo Scharze:christos
Let "el.h" include everything needed for struct editline, and don't include that stuff multiple times. That also improves consistency, also avoids circular inclusions, and also makes it easier to follow what is going on, even though not quite as nice. But it seems like the best we can do...
2016-02-16cleanup chartype.h includes (Ingo Schwarze)christos
2016-02-16one morechristos
2016-02-16include explicitly errno.h since we use it.christos
2016-02-15OpenBSD sig.c rev. 1.6 2001/12/06 04:26:00 deraadtchristos
save and restore errno in signal handler
2011-07-28kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations.christos
2011-07-28term -> terminalchristos
2009-02-19reset and redraw on sigcont. From Anon Ymous.christos
2009-02-18SA_RESTART for all signals but SIGINT. From Anon Ymous.christos
2009-02-15in order for read() to return EINTR we need to use sigaction, not signal,christos
otherwise SA_RESTART is set.
2008-09-10Allow a single process to control multiple ttys (for pthreads using _REENTRANT)christos
using multiple EditLine objects. Mostly from Preston A. Elder.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-03-10sig_t is non portablechristos
2002-03-18- constify; passes all gcc and lint strict checks.christos
- add config.h [Jason Evans], to create a portable version of libedit that can be easily compiled on other OS's.
2001-01-09make constant arrays a constjdolecek
2001-01-04fix dumb typo in signal setup [from OpenBSD]christos
return -1 if alloc fails.
2000-09-04convert to new style guide, which includes:lukem
- ansi prototypes & features (such as stdargs) - 8 space indents
1999-07-02More trailing white space.simonb
1997-07-06Fix compiler warnings.christos
1997-04-11Portability fixes:christos
__const -> const BADSIG -> SIG_ERR int flags -> u_int flags #if __STDC__ -> #ifdef __STDC__
1997-01-11RCSid policelukem
editline first appeared in 4.4BSD not NetBSD1.0
1994-05-06libedit!cgd