summaryrefslogtreecommitdiffstats
path: root/src/note.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-02-18 14:05:24 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-02-18 16:00:11 +0100
commit5130c4d02853f7435aba90caab37521d4dce4e45 (patch)
treec272ca33b143d5fa750c83efc1ae78e8a9eeb90d /src/note.c
parent894ac2d70dd2ab3a8db709409389cc1a83385eb5 (diff)
downloadcalcurse-5130c4d02853f7435aba90caab37521d4dce4e45.tar.gz
calcurse-5130c4d02853f7435aba90caab37521d4dce4e45.zip
Add stricter syntax checking to io_load_*()
Be more restrictive with what we allow in data files and bail out if a line doesn't conform to our specification, especially in regard to separators. This prevents unexpected behavior when a data file is edited manually. As a bonus, this fixes a whole pile of compiler warnings previously seen with "-Wunused-result". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/note.c')
0 files changed, 0 insertions, 0 deletions