aboutsummaryrefslogtreecommitdiffstats
path: root/libibex/file.c
Commit message (Collapse)AuthorAgeFilesLines
* New function, only write out the ibex if it has changed.NotZed2000-05-071-0/+16
| | | | | | | | | 2000-05-07 NotZed <NotZed@HelixCode.com> * file.c (ibex_save): New function, only write out the ibex if it has changed. svn path=/trunk/; revision=2868
* Also close the fd after we're done.72000-05-071-1/+8
| | | | | | | | 2000-05-07 <notzed@helixcode.com> * file.c (ibex_open): Also close the fd after we're done. svn path=/trunk/; revision=2859
* Debug function to dump the whole index to stdout.NotZed2000-04-121-28/+35
| | | | | | | | | | | | | | | | | | | | | | | | 2000-04-12 NotZed <NotZed@HelixCode.com> * find.c (ibex_dump_all): Debug function to dump the whole index to stdout. * words.c (get_ibex_file): Use g_strdup(), not strdup(). 2000-04-11 NotZed <NotZed@HelixCode.com> * file.c (write_word): Always write out all words we have (even if its 0 ... the file expects it). No longer check for removed files. (store_word): Check for removed files here, and only add to the ordered tree if we have references left to this word. (ibex_write): First insert into the tree, to determine the wordcount to be saved in the output file, and then write that. (ibex_open): Remove some debug. * words.c (ibex_index_buffer): Always set 'unread', if it is a valid pointer (dont rely on caller to initialise it). svn path=/trunk/; revision=2409
* Fixed call to ibex_open.NotZed2000-03-281-8/+47
| | | | | | | | | | | | | 2000-03-26 NotZed <NotZed@HelixCode.com> * lookup.c (main): Fixed call to ibex_open. * mkindex.c (main): Fixed call to ibex_open. * file.c (ibex_open): Changed to accept flags and mode equivalent to open(2). svn path=/trunk/; revision=2202
* add gtk-doc-style commentsDan Winship2000-02-261-0/+35
| | | | svn path=/trunk/; revision=1936
* fix license and indent styleDan Winship2000-02-171-290/+284
| | | | svn path=/trunk/; revision=1814
* Initial revisionMichael Zucci2000-02-141-0/+383
svn path=/trunk/; revision=1768