svn commit: r305369 - stable/10/lib/libc/stdio

2016-09-03 Thread Andrey A. Chernov
Author: ache Date: Sun Sep 4 00:34:15 2016 New Revision: 305369 URL: https://svnweb.freebsd.org/changeset/base/305369 Log: MFC r305219 If error happens, don't overwrite original errno comes from __mbrtowc() and __srefill(). Modified: stable/10/lib/libc/stdio/fgetwc.c Directory Propert

svn commit: r305341 - in stable/10/lib/libc: amd64/sys arm/sys i386/sys ia64/sys include mips/sys powerpc/sys powerpc64/sys sparc64/sys sys

2016-09-03 Thread Konstantin Belousov
Author: kib Date: Sat Sep 3 11:09:47 2016 New Revision: 305341 URL: https://svnweb.freebsd.org/changeset/base/305341 Log: MFC r304928: Do not obliterate errno value in the main thread during ptrace(2) call on x86. MFC r304931: Follow ABI when calling __error from the ptrace(2) wrapper.