]> git.saurik.com Git - apple/libc.git/blobdiff - stdio/FreeBSD/perror.c.patch
Libc-498.tar.gz
[apple/libc.git] / stdio / FreeBSD / perror.c.patch
diff --git a/stdio/FreeBSD/perror.c.patch b/stdio/FreeBSD/perror.c.patch
new file mode 100644 (file)
index 0000000..e816373
--- /dev/null
@@ -0,0 +1,10 @@
+--- perror.c.orig      2003-05-20 15:22:43.000000000 -0700
++++ perror.c   2005-04-29 17:06:52.000000000 -0700
+@@ -73,6 +73,7 @@
+       v->iov_base = "\n";
+       v->iov_len = 1;
+       FLOCKFILE(stderr);
++      ORIENT(stderr, -1);
+       __sflush(stderr);
+       (void)_writev(stderr->_file, iov, (v - iov) + 1);
+       stderr->_flags &= ~__SOFF;