projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82325c1
)
set psigint befor the setjmp in prompter
author
Philipp Takacs
<philipp@bureaucracy.de>
Sat, 24 Oct 2015 10:16:58 +0000
(12:16 +0200)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Sat, 24 Oct 2015 10:16:58 +0000
(12:16 +0200)
this mutes a Compielerwarning.
uip/prompter.c
patch
|
blob
|
history
diff --git
a/uip/prompter.c
b/uip/prompter.c
index
0ca1e83
..
ae0c0c6
100644
(file)
--- a/
uip/prompter.c
+++ b/
uip/prompter.c
@@
-273,7
+273,7
@@
int
getln(char *buffer, int n)
{
int c;
- sig_atomic_t psigint;
+ sig_atomic_t psigint = sigint;
char *cp;
cp = buffer;
@@
-282,7
+282,6
@@
getln(char *buffer, int n)
switch (setjmp(sigenv)) {
case 0:
wtuser = 1;
- psigint = sigint;
break;
default: