Files
glib/girepository
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-04-12 15:26:22 +01:00
2025-09-03 21:47:11 +02:00
2025-09-03 21:47:11 +02:00
2024-02-07 21:07:18 +00:00
2024-04-01 11:01:06 +00:00