Bugs item #471857, was opened at 2001-10-16 13:51
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=390117&aid=471857&group_id=27350
Category: Lang support
Group: current cvs
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Per Kristian Gjermshus (pergj)
Assigned to: Per Kristian Gjermshus (pergj)
Summary: Failure checking of ectags broken
Initial Comment:
In Generic.pm exuberant-ctags is opened as a pipe with
open().
The the return value of open is checked, but this only
checks if
the fork creating the process was successful. If there
is no
ectags installed or if the invocation went wong no
sensible
error message is displayed. The return value of the
process
should be checked more carefully.
----------------------------------------------------------------------
Comment By: Malcolm Box (mbox)
Date: 2001-10-17 17:22
Message:
Logged In: YES
user_id=215386
The implicit fork version of open is "|-" which we don't
use, we use the straight pipe open. Testing this with
open X, "/usr/bin/not_there" or die "Failed";
reliably prints "Failed" rather than having the fork
succeed.
According to perldoc -f open, there is no more information
in the return value of open() that we could check - it's
undefined if it failed, non-zero (and the pid of the child)
if it succeeded.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=390117&aid=471857&group_id=27350
|