chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fea5c7
)
wip random flail
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 29 Dec 2020 00:12:24 +0000
(
00:12
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 29 Dec 2020 00:12:24 +0000
(
00:12
+0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
wdriver.rs
patch
|
blob
|
history
diff --git
a/wdriver.rs
b/wdriver.rs
index 98b89877de1a43b67ce1a1bb38ad701d2faa2d54..218a404101b1a5f03607cfacb4a09327ee756663 100644
(file)
--- a/
wdriver.rs
+++ b/
wdriver.rs
@@
-414,6
+414,7
@@
fn prepare_tmpdir(opts: &Opts, current_exe: &str) -> DirSubst {
getcwd().context("canonicalise our tmp subdir (getcwd)")?;
env::set_var("HOME", &abstmp);
+ env::set_var("TMPDIR", &abstmp);
for v in "http_proxy https_proxy XAUTHORITY CDPATH \
SSH_AGENT_PID SSH_AUTH_SOCK WINDOWID WWW_HOME".split(' ')
{
@@
-467,7
+468,7
@@
fn fork_something_which_prints(mut cmd: Command,
for l in report {
let l : Result<String, io::Error> = l;
let l = l.context("reading further output")?;
- const MAXLEN : usize =
2
00;
+ const MAXLEN : usize =
3
00;
if l.len() <= MAXLEN {
println!("{} {}", what, l);
} else {