[Xapian-discuss] Omindex.cc BSD bug

Olly Betts olly at survex.com
Mon Oct 2 17:44:43 BST 2006

On Mon, Oct 02, 2006 at 05:31:51PM +0100, Lionel wrote:
> Solution: Omindex.cc line 201, replace fclose by pclose :
> If (pclose(sh) == -1) throw read ReadError();
> This must correct the problem, I'm not sure if will cause the same error in
> other platforms or UNIX.

Yes, that should indeed be pclose not fclose (it's actually already
fixed in SVN, but thanks for reporting it).


More information about the Xapian-discuss mailing list