← Commit list

ebce2daa6

Manuel Novoa III
Manuel Novoa III
2004-01-30
FAILED Duration: 63s

Subject

Support new uClibc stdio core.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/printf.c+8 -4
@@ -55,9 +55,13 @@
* #define __FEOF(stream) ((stream)->modeflags & __FLAG_EOF)
* #define __FERROR(stream) ((stream)->modeflags & __FLAG_ERROR)
*/
-#define SET_FERROR_UNLOCKED(S) ((S)->modeflags |= __FLAG_ERROR)
+# if defined(__MASK_READING)
+# define SET_FERROR_UNLOCKED(S) ((S)->__modeflags |= __FLAG_ERROR)
+# else
+# define SET_FERROR_UNLOCKED(S) ((S)->modeflags |= __FLAG_ERROR)
+# endif
-#elif defined(__MODE_ERR)
+# elif defined(__MODE_ERR)
/* Using either the original stdio implementation (from dev86) or
* my original stdio rewrite. Macros were:
* #define ferror(fp) (((fp)->mode&__MODE_ERR) != 0)
@@ -66,9 +70,9 @@
*/
#define SET_FERROR_UNLOCKED(S) ((S)->mode |= __MODE_ERR)
-#else
+# else
#error unknown uClibc stdio implemenation!
-#endif
+# endif
#elif defined(__GLIBC__)