Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#24 closed defect (released)

simpleindex ignores the last line if it has no trailing linefeed

Reported by: Robert Pollak Owned by: Olly Betts
Priority: high Milestone:
Component: Examples Version: 0.7.3
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: Linux

Description

I think I see the bug that James Aylett described on the mailing list ("simple* examples", 2003-07-16, see above URL).

I generated a text file of one line without linefeed. After indexing with "simpleindex db <file" delve still gave me "number of documents = 0".

After appending a linefeed and indexing delve shows me that indexing has worked.

URL: http://article.gmane.org/gmane.comp.search.xapian.devel/222

Change History (2)

comment:1 by Olly Betts, 21 years ago

Resolution: fixed
Status: newclosed

Thanks for reporting this - I've just applied a fix to CVS.

comment:2 by Olly Betts, 21 years ago

Operating System: Linux
Resolution: fixedreleased

Fixed in 0.8.0

Note: See TracTickets for help on using tickets.