1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00

zsh-workers/9823

This commit is contained in:
Tanaka Akira 2000-02-22 01:37:14 +00:00
parent 7122ebd5ab
commit 996f618243

View file

@ -1140,7 +1140,7 @@ main()
if(pid < 0)
exit(1);
if(pid) {
fd = open("/tmp/fifo$$", O_RDONLY);
fd = open("/tmp/fifo$$", O_RDWR);
exit(fd < 0 || read(fd, &c, 1) != 1 || c != 'x');
}
fd = open("/tmp/fifo$$", O_WRONLY);