From 11a1eaf09aec71369f9db9830a32ebfb54c3ff40 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Mar 03 2021 08:40:23 +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, ...)