Mail Archives: djgpp-workers/1998/10/08/17:34:42
Eli Zaretskii wrote :
>
If we are here I will report an other bug (without an patch).
Anywhere in the docs and also in popen.c it is documented,
that pclose returns zero for success and nonzero for failure.
But effectively pclose return in the case of success the return
value of the piped program. This is very wrong, since for instance
cvs uses popen/pclose when running diff3 and if diff3 returns a
nonzero value, cvs things that pclose failed and it aborts.
BTW: because I hadn't the time I hardly fixed this by patching
diff3 to return always zero, but this should not be the
solution.
Robert
--
******************************************************
* email: Robert Hoehne <robert DOT hoehne AT gmx DOT net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
- Raw text -