pfg 5c8726d1b2 MFC r268926, r268930, r268983:
Use a correct errno in freopen.
Use EBADF instead of EINVAL when working around incorrect O_ACCMODE.

Adjust errno on failed prepwrite.

rewind: always clear error indicator as required by POSIX.

Obtained from:	Apple Inc. (Libc 997.90.3)
Phabric:	D442
2014-08-03 18:28:10 +00:00
..
2013-01-01 18:29:25 +00:00
2014-08-03 18:28:10 +00:00
2013-11-29 19:44:30 +00:00
2014-03-05 19:30:36 +00:00
2013-12-10 22:55:22 +00:00
2014-02-09 00:34:21 +00:00
2014-07-26 02:41:18 +00:00
2012-06-02 08:47:26 +00:00
2014-01-09 23:08:56 +00:00
2014-06-20 07:32:03 +00:00
2014-04-24 10:23:35 +00:00
2014-07-11 00:00:00 +00:00
2014-03-31 00:28:54 +00:00
2013-09-08 10:04:26 +00:00
2013-05-30 08:02:00 +00:00
2014-06-18 05:35:09 +00:00
2014-07-16 21:04:31 +00:00
2014-03-19 23:55:03 +00:00
2013-05-12 22:22:12 +00:00
2014-02-01 22:29:04 +00:00
2013-11-14 09:25:29 +00:00
2014-07-25 23:12:22 +00:00
2012-10-18 15:39:29 +00:00
2013-05-12 22:22:12 +00:00
2014-06-07 02:45:24 +00:00
2014-07-19 23:44:57 +00:00
2014-06-13 07:33:43 +00:00
2014-07-29 22:29:31 +00:00
2013-10-23 18:07:07 +00:00
2014-07-20 00:32:22 +00:00
2014-03-01 03:09:16 +00:00
2013-12-28 20:05:31 +00:00
2014-04-09 18:16:58 +00:00