diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-02-18 14:05:24 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-02-18 16:00:11 +0100 |
commit | 5130c4d02853f7435aba90caab37521d4dce4e45 (patch) | |
tree | c272ca33b143d5fa750c83efc1ae78e8a9eeb90d /src/wins.c | |
parent | 894ac2d70dd2ab3a8db709409389cc1a83385eb5 (diff) | |
download | calcurse-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/wins.c')
0 files changed, 0 insertions, 0 deletions