Loading...
--- Libc/Libc-1725.40.4/stdio/FreeBSD/rewind.c
+++ Libc/Libc-825.26/stdio/FreeBSD/rewind.c
@@ -49,7 +49,8 @@
int serrno = errno;
/* make sure stdio is set up */
- pthread_once(&__sdidinit, __sinit);
+ if (!__sdidinit)
+ __sinit();
FLOCKFILE(fp);
if (_fseeko(fp, (off_t)0, SEEK_SET, 1) == 0) {