261 |
else |
else |
262 |
fprintf (stderr, _("Bad stats file size.\n")); |
fprintf (stderr, _("Bad stats file size.\n")); |
263 |
} |
} |
264 |
fclose (file); |
if (fclose (file) != 0) |
265 |
|
perror (_("Could not read stats file.")); |
266 |
} |
} |
267 |
bitset_stats_info_data.runs++; |
bitset_stats_info_data.runs++; |
268 |
} |
} |
286 |
if (fwrite (&bitset_stats_info_data, sizeof (bitset_stats_info_data), |
if (fwrite (&bitset_stats_info_data, sizeof (bitset_stats_info_data), |
287 |
1, file) != 1) |
1, file) != 1) |
288 |
perror (_("Could not write stats file.")); |
perror (_("Could not write stats file.")); |
289 |
fclose (file); |
if (fclose (file) != 0) |
290 |
|
perror (_("Could not write stats file.")); |
291 |
} |
} |
292 |
else |
else |
293 |
perror (_("Could not open stats file for writing.")); |
perror (_("Could not open stats file for writing.")); |