From 8f644f8c6bbd964688454a32fda0c06695befe0c Mon Sep 17 00:00:00 2001 From: Packit Service Date: Jan 06 2021 22:39:16 +0000 Subject: Apply patch glibc-rh1871397-5.patch patch_name: glibc-rh1871397-5.patch present_in_specfile: true location_in_specfile: 368 --- diff --git a/include/stdio.h b/include/stdio.h index 7a5c090..86f2e20 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -9,6 +9,13 @@ /* Now define the internal interfaces. */ +/* Set the error indicator on FP. */ +static inline void +fseterr_unlocked (FILE *fp) +{ + fp->_flags |= _IO_ERR_SEEN; +} + extern int __fcloseall (void) attribute_hidden; extern int __snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...)