From: fess <fe...@us...> - 2004-01-27 16:47:55
|
Update of /cvsroot/wigwam/wigwam-base/publish-scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24547/publish-scripts Modified Files: get-last-tag.in Log Message: don't break the pipe on cvs. Index: get-last-tag.in =================================================================== RCS file: /cvsroot/wigwam/wigwam-base/publish-scripts/get-last-tag.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- get-last-tag.in 1 Aug 2001 05:59:06 -0000 1.2 +++ get-last-tag.in 27 Jan 2004 16:46:50 -0000 1.3 @@ -48,6 +48,9 @@ next unless /^\t${prefix}_(\w+):/; push(@tag_dates, $1); } +# if cvs has more output then read it +# before closing the pipe. +1 while (defined(<F>)); close(F); # Make sure we found at least one tag. |