Introduction
Introduction Statistics Contact Development Disclaimer Help
tbetter cleanup; use /var/tmp - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 90c3dab6d4f928cdf6672f89ae820a48826fd701
parent 5fa0329137c65d51d2ee14fa58eea07f139cf7c3
Author: rsc <devnull@localhost>
Date: Sun, 23 Jul 2006 14:43:21 +0000
better cleanup; use /var/tmp
Diffstat:
M src/cmd/ed.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/cmd/ed.c b/src/cmd/ed.c
t@@ -125,7 +125,7 @@ void substitute(int);
Rune La[] = { 'a', 0 };
Rune Lr[] = { 'r', 0 };
-char tmp[] = "/tmp/eXXXXX";
+char tmp[] = "/var/tmp/eXXXXX";
void
main(int argc, char *argv[])
t@@ -692,7 +692,7 @@ notifyf(void *a, char *s)
error1(Q);
notejmp(a, savej, 0);
}
- if(strcmp(s, "hangup") == 0){
+ if(strcmp(s, "hangup") == 0 || strcmp(s, "kill") == 0){
if(rescuing)
noted(NDFLT);
rescue();
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.