several changes, new stuff
This commit is contained in:
parent
b1669b5c48
commit
d6e0e6e987
7 changed files with 34 additions and 19 deletions
2
util.c
2
util.c
|
@ -134,7 +134,7 @@ pipe_spawn(char *buf, unsigned int len, Display *dpy, char *argv[])
|
|||
n += l;
|
||||
}
|
||||
close(pfd[0]);
|
||||
buf[n - 1] = 0;
|
||||
buf[n < len ? n : len - 1] = 0;
|
||||
}
|
||||
wait(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue