According to Denis Barbier:
> Le 30/10/1998, Darrell Shively a �crit:
> 
> DS>  Friends:
> DS> 
> DS>  We have htdig on our web server, and it works very well indeed.
> DS>  Manual indexing, etc. worked great and everything seems fine - with one
> DS>  tiny exception: the cron task (in /etc/cron.daily/htdig-dbgen) sends me
> DS>  the following email every day:
> 
> Hi Darrell,
> 
> on a Linux box, i had to replace the call to htmerge by
> /bin/tcsh -c /usr/sbin/htmerge
> 
> A bug in bash ?

Hi, guys!  I guess I wasn't thorough enough in testing this under Red
Hat 5.0 and 5.1.  It works fine under 4.2.  I'm trying to track down
the problem right now, but not having a lot of luck so far.  For some
reason, pclose() is returning an ECHILD error after the sort, which
suggests that it's giving the PID of a non-existant process to wait4().
A bug in glibc's pclose(), perhaps?

I don't know why running htmerge from tcsh fixes it.  So does running
it from /bin/ash.  Changing the first line of rundig to "#! /bin/ash"
also fixes it.  This is very bizarre.  I'd sure like to get to the
bottom of it.  I don't see why starting htmerge from bash causes a
wait4() for htmerge's child process to fail, but starting it from
ash or tcsh doesn't.  Anyone have any ideas about this?

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to