1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

Made zclose() avoid calling close() when fd < 0.

This commit is contained in:
Wayne Davison 2004-10-18 03:32:16 +00:00
parent 66baaced5d
commit 0d6e174e23

@ -1117,8 +1117,9 @@ zclose(int fd)
coprocin = -1;
if (fd == coprocout)
coprocout = -1;
return close(fd);
}
return close(fd);
return -1;
}
/* Get a file name relative to $TMPPREFIX which *