better cleanup; use /var/tmp
This commit is contained in:
parent
5fa0329137
commit
90c3dab6d4
1 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ void substitute(int);
|
||||||
Rune La[] = { 'a', 0 };
|
Rune La[] = { 'a', 0 };
|
||||||
Rune Lr[] = { 'r', 0 };
|
Rune Lr[] = { 'r', 0 };
|
||||||
|
|
||||||
char tmp[] = "/tmp/eXXXXX";
|
char tmp[] = "/var/tmp/eXXXXX";
|
||||||
|
|
||||||
void
|
void
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
|
|
@ -692,7 +692,7 @@ notifyf(void *a, char *s)
|
||||||
error1(Q);
|
error1(Q);
|
||||||
notejmp(a, savej, 0);
|
notejmp(a, savej, 0);
|
||||||
}
|
}
|
||||||
if(strcmp(s, "hangup") == 0){
|
if(strcmp(s, "hangup") == 0 || strcmp(s, "kill") == 0){
|
||||||
if(rescuing)
|
if(rescuing)
|
||||||
noted(NDFLT);
|
noted(NDFLT);
|
||||||
rescue();
|
rescue();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue