1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/games/quiz
naddy 5a0076c3c8 quiz: handle line continuation in data files correctly, switch to getline(3)
Specifically, the following quiz.db line

foo:\
bar

was parsed into "foo:bar\n", which made it impossible to answer correctly.

Bug reported and inital fix from Alex Karle, partially reworked by
yours truly, further input from millert@
2021-03-11 21:18:25 +00:00
..
datfiles some updates from pjanzen; 2021-01-21 07:12:34 +00:00
Makefile
pathnames.h
quiz.6
quiz.c quiz: handle line continuation in data files correctly, switch to getline(3) 2021-03-11 21:18:25 +00:00
quiz.h
rxp.c