mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 22:34:18 +01:00
As pointed by Coverity, the macro RETRY does not behave as expected, as it assumes that errno is cleared on successful 'fopen' call which is not the case. This patch removes the uses of the macro RETRY: - fopen: with the appropriate check - fread/fwrite: nothing because they do not set errno - fclose: nothing because retrying is not recommended and took the opportunity to add a little bit more information in the error messages. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
9.8 KiB
9.8 KiB