aboutsummaryrefslogtreecommitdiffstats
path: root/src/text_file.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* text_file: don't strip trailing whitespaceMax Kellermann2010-01-171-1/+6
| | | | | 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-311-1/+1
|
* include config.h in all sourcesMax Kellermann2009-11-121-0/+1
| | | | | | 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-011-0/+62
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.