mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 03:25:25 +02:00
lbutils/file: don't loop EINTR on close()
state is undefined after EINTR. just abort universally. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -525,7 +525,7 @@ int secure_file(int *fd,
|
||||
int check_seek,
|
||||
int do_lock,
|
||||
mode_t mode);
|
||||
void close_on_eintr(int *fd);
|
||||
void xclose(int *fd);
|
||||
int fsync_on_eintr(int fd);
|
||||
int fs_rename_at(int olddirfd, const char *old,
|
||||
int newdirfd, const char *new);
|
||||
|
||||
Reference in New Issue
Block a user