kc3-lang/pkgconf/fileio.c

Branch :


Log

Author Commit Date CI Message
0eb31f91 2015-04-23 21:59:02 fileio: Skip the whole line after a non quoted comment
5dc8aa36 2015-04-20 09:24:07 fileio: pkg_fgetline(): handle comments properly
cae8bf26 2015-02-02 17:35:32 Trim spaces after a quoted newline if a newline has been quoted then trim all spaces (' ' and '\t') found on the next line
bff5f15d 2014-07-31 16:15:31 Support .pc file without a trailing newline Some editors write text files without a newline character at the end of the last line. Before this change, the main loop in pkg_new_from_file() expected a newline character at the end of the line and overwrote it with a NUL character. In the case of the last line in a non-newline-terminated file, this ate the last character of that line. Now, the pkg_fgetline() function takes care of returning a line without the newline character (or the "\r\n" sequence in case of a DOS file format).
2d5dfe7d 2012-08-14 11:06:04 do not keep the quote information when set once
c6f6cb78 2012-08-14 11:00:53 Keep the backslash if not followed by \n or \r\n when parsing
ee2e6054 2012-07-30 01:53:32 fileio: add support for quoting to pkg_fgetline().
0a5cb4c4 2012-07-25 21:09:31 everything: update copyright to note multiple authors
1975a298 2012-07-20 14:29:58 everything: more friendly warranty disclaimer
130907d5 2012-05-04 03:21:51 fileio: add routine for portably yanking lines out of a FILE stream