]> git.saurik.com Git - apple/libc.git/blob - stdio/FreeBSD/perror.c.patch
e81637363cc809009b704e40620ab5770313dbaa
[apple/libc.git] / stdio / FreeBSD / perror.c.patch
1 --- perror.c.orig 2003-05-20 15:22:43.000000000 -0700
2 +++ perror.c 2005-04-29 17:06:52.000000000 -0700
3 @@ -73,6 +73,7 @@
4 v->iov_base = "\n";
5 v->iov_len = 1;
6 FLOCKFILE(stderr);
7 + ORIENT(stderr, -1);
8 __sflush(stderr);
9 (void)_writev(stderr->_file, iov, (v - iov) + 1);
10 stderr->_flags &= ~__SOFF;