aboutsummaryrefslogtreecommitdiff
path: root/src/text_file.c
Commit message (Collapse)AuthorAge
* copyright year 2011Max Kellermann2011-01-29
|
* text_file: don't strip trailing whitespaceMax Kellermann2010-01-17
| | | | | Only delete the newline characters (\n and optionally \r). This allows the database file to store file names with trailing whitespace.
* Update copyright notices.Avuton Olrich2009-12-31
|
* include config.h in all sourcesMax Kellermann2009-11-12
| | | | | | After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
* text_file: allocate line buffers dynamicallyMax Kellermann2009-11-01
Use a single GString buffer object in all functions loading the database. Enlarge it automatically for long lines. This eliminates the maximum line length for tag values. There is still an upper limit of 512 kB to prevent denial of service, but that's reasonable I guess.