diritor.cc: Avoid magic_descriptor() in libmagic < 5.15 as it
commit2e0e53329099a2a3896f92e72512459759e48353
authorOlly Betts <olly@survex.com>
Wed, 16 Sep 2015 20:24:23 +0000 (17 08:24 +1200)
committerOlly Betts <olly@survex.com>
Wed, 16 Sep 2015 20:24:23 +0000 (17 08:24 +1200)
treec00e2c0eadf561161477c26f0dd8a90ddd5323ee
parente76ea3d21675e89d7aba864a5bcc0805745e7d0f
diritor.cc: Avoid magic_descriptor() in libmagic < 5.15 as it
closes the fd passed to it.  The magic_descriptor() code path isn't
actually used currently, so this issue doesn't cause omindex to
misbehave.
xapian-applications/omega/ChangeLog
xapian-applications/omega/diritor.cc