mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-10 12:40:58 +02:00
zsh-workers/9823
This commit is contained in:
parent
7122ebd5ab
commit
996f618243
1 changed files with 1 additions and 1 deletions
|
@ -1140,7 +1140,7 @@ main()
|
||||||
if(pid < 0)
|
if(pid < 0)
|
||||||
exit(1);
|
exit(1);
|
||||||
if(pid) {
|
if(pid) {
|
||||||
fd = open("/tmp/fifo$$", O_RDONLY);
|
fd = open("/tmp/fifo$$", O_RDWR);
|
||||||
exit(fd < 0 || read(fd, &c, 1) != 1 || c != 'x');
|
exit(fd < 0 || read(fd, &c, 1) != 1 || c != 'x');
|
||||||
}
|
}
|
||||||
fd = open("/tmp/fifo$$", O_WRONLY);
|
fd = open("/tmp/fifo$$", O_WRONLY);
|
||||||
|
|
Loading…
Reference in a new issue