projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed a remaining RETSIGTYPE. Also change a few locals from int to unsigned to...
[mmh]
/
uip
/
msh.c
diff --git
a/uip/msh.c
b/uip/msh.c
index
c0fc4e7
..
07110fd
100644
(file)
--- a/
uip/msh.c
+++ b/
uip/msh.c
@@
-1621,10
+1621,6
@@
seq_setcur (struct msgs *mp, int msgnum)
static void
intrser (int i)
{
static void
intrser (int i)
{
-#ifndef RELIABLE_SIGNALS
- SIGNAL (SIGINT, intrser);
-#endif
-
discard (stdout);
interrupted++;
discard (stdout);
interrupted++;
@@
-1638,10
+1634,6
@@
intrser (int i)
static void
pipeser (int i)
{
static void
pipeser (int i)
{
-#ifndef RELIABLE_SIGNALS
- SIGNAL (SIGPIPE, pipeser);
-#endif
-
if (broken_pipe++ == 0)
fprintf (stderr, "broken pipe\n");
told_to_quit++;
if (broken_pipe++ == 0)
fprintf (stderr, "broken pipe\n");
told_to_quit++;
@@
-1657,10
+1649,6
@@
pipeser (int i)
static void
quitser (int i)
{
static void
quitser (int i)
{
-#ifndef RELIABLE_SIGNALS
- SIGNAL (SIGQUIT, quitser);
-#endif
-
told_to_quit++;
interrupted++;
told_to_quit++;
interrupted++;