Files
glib/girepository/tests
Philip Withnall 4481a217c4 gdump: Handle feof() and ferror() separately
The return value from `fread()` doesn’t actually indicate whether the
read failed due to EOF or due to a read error.

Rework the code so that errors are reported correctly, EOF is handled
silently, and as a byproduct, blank lines in the input file are ignored
and skipped over.

Spotted by scan-build.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2025-10-27 21:34:08 +00:00
..
2024-01-16 18:56:57 +01:00
2024-01-23 22:04:52 -08:00