On Thu, 21 May 2009, René Scharfe wrote: > > That's strange. It seems that poll() reports that there is data to read > from the child (which is running git-upload-archive), even though it > already called exit(). Poll reports an FD is readable when it reaches EOF. > The following patch works around this issue by terminating the otherwise > endless loop after read() returned nothing for the thousandth time in a > row. You should stop reading the first time read() returns 0 i.e. EOF. Tony. -- f.anthony.n.finch <dot@xxxxxxxx> http://dotat.at/ GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS. MODERATE OR GOOD.