svn commit: r251047 - in head: lib/libc/amd64/gen lib/libc/arm/gen lib/libc/gen lib/libc/i386/gen lib/libc/ia64/gen lib/libc/mips/gen lib/libc/powerpc/gen lib/libc/powerpc64/gen lib/libc/sparc64/ge...

2013-05-27 Thread Konstantin Belousov
Author: kib Date: Tue May 28 04:54:16 2013 New Revision: 251047 URL: http://svnweb.freebsd.org/changeset/base/251047 Log: The getcontext() from the __fillcontextx() call in the check_deferred_signal() returns twice, since handle_signal() emulates the return from the normal signal handler by

Re: svn commit: r251024 - in head: lib/msun lib/msun/ld128 lib/msun/ld80 lib/msun/src tools/regression/lib/msun

2013-05-27 Thread Garrett Cooper
On May 27, 2013, at 12:58 PM, Ryan Stone wrote: > On Mon, May 27, 2013 at 1:23 PM, David Schultz wrote: > >> If someone were to write or import a good test framework, >> get all the tests to use it, and put together a test tinderbox, that >> would have a lot of impact. >> >> > People are worki

svn commit: r251046 - head/lib/msun/ld80

2013-05-27 Thread Steve Kargl
Author: kargl Date: Mon May 27 22:45:05 2013 New Revision: 251046 URL: http://svnweb.freebsd.org/changeset/base/251046 Log: Style(9) Approved by: das (implicit) Reported by: jh Modified: head/lib/msun/ld80/s_exp2l.c Modified: head/lib/msun/ld80/s_exp2l.c

svn commit: r251044 - head/usr.sbin/lpr/common_source

2013-05-27 Thread Garance A Drosehn
Author: gad Date: Mon May 27 22:19:01 2013 New Revision: 251044 URL: http://svnweb.freebsd.org/changeset/base/251044 Log: Change the closeallfds() routine to use closefrom() when it is available (closefrom() was added to FreeBSD in 8.0-release). The selection is made at compile-time, as I st

svn commit: r251042 - head/lib/libc/sys

2013-05-27 Thread Jilles Tjoelker
Author: jilles Date: Mon May 27 21:37:19 2013 New Revision: 251042 URL: http://svnweb.freebsd.org/changeset/base/251042 Log: cap_rights_limit(2): CAP_ACCEPT also permits accept4(2). Modified: head/lib/libc/sys/cap_rights_limit.2 Modified: head/lib/libc/sys/cap_rights_limit.2

svn commit: r251041 - head/lib/msun/ld80

2013-05-27 Thread Steve Kargl
Author: kargl Date: Mon May 27 20:43:16 2013 New Revision: 251041 URL: http://svnweb.freebsd.org/changeset/base/251041 Log: * Update polynomial coefficients. * Use ENTERI/RETURNI to allow the use of FP_PE on i386 target. Reviewed by: das (and bde a long time ago) Approved by: das (men

Re: svn commit: r251024 - in head: lib/msun lib/msun/ld128 lib/msun/ld80 lib/msun/src tools/regression/lib/msun

2013-05-27 Thread Dimitry Andric
On 2013-05-27 16:07, Steve Kargl wrote: On Mon, May 27, 2013 at 08:50:10AM +, David Schultz wrote: Author: das Date: Mon May 27 08:50:10 2013 New Revision: 251024 URL: http://svnweb.freebsd.org/changeset/base/251024 Log: Fix some regressions caused by the switch from gcc to clang. The fi

Re: svn commit: r251024 - in head: lib/msun lib/msun/ld128 lib/msun/ld80 lib/msun/src tools/regression/lib/msun

2013-05-27 Thread Ryan Stone
On Mon, May 27, 2013 at 1:23 PM, David Schultz wrote: > If someone were to write or import a good test framework, > get all the tests to use it, and put together a test tinderbox, that > would have a lot of impact. > > People are working on bringing ATF into FreeBSD: https://wiki.freebsd.org/Tes

svn commit: r251040 - head/lib/libthr/thread

2013-05-27 Thread Konstantin Belousov
Author: kib Date: Mon May 27 18:45:45 2013 New Revision: 251040 URL: http://svnweb.freebsd.org/changeset/base/251040 Log: Partially apply the capitalization of the heading word of the sequence and fix typo. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/lib/

svn commit: r251039 - in head/sys: amd64/amd64 amd64/ia32 i386/i386

2013-05-27 Thread Konstantin Belousov
Author: kib Date: Mon May 27 18:39:39 2013 New Revision: 251039 URL: http://svnweb.freebsd.org/changeset/base/251039 Log: Use slightly more idiomatic expression to get the address of array. Tested by:dim, pgj Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: hea

svn commit: r251038 - head/sys/amd64/ia32

2013-05-27 Thread Konstantin Belousov
Author: kib Date: Mon May 27 18:36:46 2013 New Revision: 251038 URL: http://svnweb.freebsd.org/changeset/base/251038 Log: The _MC_HASFPXSTATE and _MC_IA32_HASFPXSTATE flags have the same bit value on purpose, but the ia32 context handling code is logically more correct to use the _MC_IA32_HA

svn commit: r251037 - head/sys/amd64/ia32

2013-05-27 Thread Konstantin Belousov
Author: kib Date: Mon May 27 18:31:15 2013 New Revision: 251037 URL: http://svnweb.freebsd.org/changeset/base/251037 Log: The ia32_get_mcontext() does not need to set PCB_FULL_IRET. The usermode context state is not changed by the get operation, and get_mcontext() does not require full iret

svn commit: r251035 - head/sys/amd64/amd64

2013-05-27 Thread Konstantin Belousov
Author: kib Date: Mon May 27 18:29:20 2013 New Revision: 251035 URL: http://svnweb.freebsd.org/changeset/base/251035 Log: When reporting the fault details, also print %rsp. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/amd64/amd64/trap.c Modified: head/s

svn commit: r251033 - in head/sys: amd64/amd64 i386/i386

2013-05-27 Thread Konstantin Belousov
Author: kib Date: Mon May 27 18:26:08 2013 New Revision: 251033 URL: http://svnweb.freebsd.org/changeset/base/251033 Log: When handling an exception from the attempt from loading the faulting context on return from the trap handler, re-enable the interrupts on i386 and amd64. The trap retur

Re: svn commit: r251024 - in head: lib/msun lib/msun/ld128 lib/msun/ld80 lib/msun/src tools/regression/lib/msun

2013-05-27 Thread David Schultz
On Mon, May 27, 2013, Steve Kargl wrote: > On Mon, May 27, 2013 at 08:50:10AM +, David Schultz wrote: > > Author: das > > Date: Mon May 27 08:50:10 2013 > > New Revision: 251024 > > URL: http://svnweb.freebsd.org/changeset/base/251024 > > > > Log: > > Fix some regressions caused by the switc

Re: svn commit: r250990 - head/include

2013-05-27 Thread Tijl Coosemans
On 2013-05-27 10:34, David Schultz wrote: > On Sat, May 25, 2013, Ed Schouten wrote: >> Author: ed >> Date: Sat May 25 18:55:55 2013 >> New Revision: 250990 >> URL: http://svnweb.freebsd.org/changeset/base/250990 >> >> Log: >> Add C11 macros CMPLX(), CMPLXF() and CMPLXL(). >> >> Clang allows

Re: svn commit: r251024 - in head: lib/msun lib/msun/ld128 lib/msun/ld80 lib/msun/src tools/regression/lib/msun

2013-05-27 Thread Steve Kargl
On Mon, May 27, 2013 at 08:50:10AM +, David Schultz wrote: > Author: das > Date: Mon May 27 08:50:10 2013 > New Revision: 251024 > URL: http://svnweb.freebsd.org/changeset/base/251024 > > Log: > Fix some regressions caused by the switch from gcc to clang. The fixes > are workarounds for va

svn commit: r251024 - in head: lib/msun lib/msun/ld128 lib/msun/ld80 lib/msun/src tools/regression/lib/msun

2013-05-27 Thread David Schultz
Author: das Date: Mon May 27 08:50:10 2013 New Revision: 251024 URL: http://svnweb.freebsd.org/changeset/base/251024 Log: Fix some regressions caused by the switch from gcc to clang. The fixes are workarounds for various symptoms of the problem described in clang bugs 3929, 8100, 8241, 10409

Re: svn commit: r250972 - head/usr.bin/patch

2013-05-27 Thread Bruce Evans
n Sun, 26 May 2013, Stefan Esser wrote: Am 25.05.2013 06:31, schrieb Bruce Evans: On Fri, 24 May 2013, Stefan Esser wrote: ... Another possibility (too obfuscated for my taste) is: if (ferror(ofp) { fclose(ofp); ofp = NULL; } if (ofp ==

Re: svn commit: r250990 - head/include

2013-05-27 Thread David Schultz
On Sat, May 25, 2013, Ed Schouten wrote: > Author: ed > Date: Sat May 25 18:55:55 2013 > New Revision: 250990 > URL: http://svnweb.freebsd.org/changeset/base/250990 > > Log: > Add C11 macros CMPLX(), CMPLXF() and CMPLXL(). > > Clang allows us to initialize complex numbers using an array >