aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libq/contents: fix invalid access problem pointed out by valgrindFabian Groffen2024-02-011-0/+4
| | | | | | | | len represents the entire string length, but we start scanning after the line identifier, so substract that size from len, such that we don't start scanning after the end of the input string. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/contents: add variant specifying buffer lengthFabian Groffen2024-01-311-18/+35
| | | | | | | This seems necessary for PR #21, but keep the original code structure largely in-tact. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/contents: drop expensive checks for newline and tabsFabian Groffen2020-01-051-12/+4
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* q: fix various issues on Linux systemsFabian Groffen2019-03-271-0/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* build: compile applets as separate objectsFabian Groffen2019-03-271-0/+92
Instead of including everything from a single file, compile each applet separately. This standardises things somewhat, and allows for parallel compilation. Signed-off-by: Fabian Groffen <grobian@gentoo.org>