summaryrefslogtreecommitdiff
path: root/sfeed_tail.c
AgeCommit message (Collapse)Author
2016-04-10remove basename, just use last part of the path...Hiltjo Posthuma
... as a bonus it also saves an allocation.
2016-03-29add time parsing to sfeed itself, remove time fieldHiltjo Posthuma
- less overhead (we only need GMT time) so no setenv("TZ", ...) tzset() crap. - timezone format (for example %z in strptime) is non-standard, this will add some lines of code and some complexity to our code though, but the trade-off is worth it imho.
2016-02-28use prime as seed for murmur3 seed (doesnt matter much)Hiltjo Posthuma
2016-02-28sfeed_tail: terminate line at newline, small cleanupHiltjo Posthuma
2016-02-28sfeed_tail: fix pledge when opening filesHiltjo Posthuma
2016-02-27sfeed_tailHiltjo Posthuma
2016-02-27various improvementsHiltjo Posthuma
- pledge tools and add define to enable it on platforms that support it, currently only OpenBSD 5.9+ - separate getline and parseline functionality. - use murmur3 hash instead of jenkins1: faster and less collisions. - make some error messages a bit more clear, for example with path truncation. - some small cleanups, move printutf8pad to util.
2016-02-01sfeed_tail: tune memory consumption down a bit, tested with a file with ↵Hiltjo Posthuma
10,000,000 lines (50MB)
2016-01-31Add missing stdint headerQuentin Rameau
2016-01-31add sfeed_tail (test), might be removed again laterHiltjo Posthuma
fix Makefile (compat)