Commit Graph

4 Commits

Author SHA1 Message Date
David Anderson 73d23fdcd7 fix bug in boinc::fscanf()
This was reading a line with fgets(),
then removing the last character from it
(usually but not necessarily a newline).
This is incorrect.
It broke the logic for checking .md5 files
(which look for the newline)
2023-11-20 12:56:18 -08:00
davidpanderson 1756085a1e Fix small bug
Fix problem in boinc_stdio.h
2023-03-25 19:29:15 -07:00
davidpanderson 6f4b8e5d43 Fix some compile warnings on Win (VS 2022).
Remove outdated stuff (e.g. VS has snprintf() now).

I'd like to have a clean build (no warnings) on both VS and gcc.
Currently VS has a bunch of printf code warnings in
diagnostics.cpp, diagnostics_win.cpp, and stackwalker_win.cpp.
These should be easy to fix.
gcc has a bunch of sprintf buffer-size warnings, not easy to fix.
There are lots of warnings in zip (to be fixed with vcpkg?)
and in old graphics code.
2023-03-22 14:23:14 -07:00
Vitalii Koshura 92a9b34e9c
[linux] Move all fcgi dependent stdio functions to the separate 'boinc_stdio.h' header only file
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2023-02-12 19:50:22 +01:00