Re: svn commit: r250986 - head/sys/dev/usb

2013-05-25 Thread Bruce Evans
On Sat, 25 May 2013 m...@freebsd.org wrote: On Sat, May 25, 2013 at 10:09 AM, Hans Petter Selasky wrote: ... Log: Fix some statical clang analyzer warnings. ... == --- head/sys/dev/usb/usb_msctest.c Sat May 25 16

svn commit: r250992 - head/share/mk

2013-05-25 Thread Jeremie Le Hen
Author: jlh Date: Sat May 25 22:17:14 2013 New Revision: 250992 URL: http://svnweb.freebsd.org/changeset/base/250992 Log: Rework the comment I initially wrote when SHLIB_LDSCRIPT was introduced. The build system is really intricate and I had a hard time to remind the whole picture even when

Re: svn commit: r250883 - in head: include include/xlocale lib/libc/locale sys/sys tools/regression/lib/libc/locale

2013-05-25 Thread Jilles Tjoelker
On Sat, May 25, 2013 at 04:00:44PM +0200, Ed Schouten wrote: > [ +gabor ] > 2013/5/22 Ed Schouten : > > Oh, the horror! I thought on FreeBSD, we used the LC_CTYPE files to do > > a mapping to ISO 10646. Unfortunately, it seems to be the case that > > these files are only used to do mappings to > >

Re: svn commit: r250991 - in head: contrib/jemalloc/include/jemalloc include lib/libc/stdlib/jemalloc

2013-05-25 Thread Jilles Tjoelker
On Sat, May 25, 2013 at 06:59:12PM +, Marcel Moolenaar wrote: > Author: marcel > Date: Sat May 25 18:59:11 2013 > New Revision: 250991 > URL: http://svnweb.freebsd.org/changeset/base/250991 > Log: > Make the malloc(3) family of functions weak and make their non-weak > implementations visib

Re: svn commit: r250991 - in head: contrib/jemalloc/include/jemalloc include lib/libc/stdlib/jemalloc

2013-05-25 Thread Alexander Kabaev
On Sat, 25 May 2013 18:59:12 + (UTC) Marcel Moolenaar wrote: > Make the malloc(3) family of functions weak and make their non-weak > implementations visible for use by applications. The functions $F > that are now weak symbols are: > allocm, calloc, dallocm, free, malloc, malloc_usa

svn commit: r250991 - in head: contrib/jemalloc/include/jemalloc include lib/libc/stdlib/jemalloc

2013-05-25 Thread Marcel Moolenaar
Author: marcel Date: Sat May 25 18:59:11 2013 New Revision: 250991 URL: http://svnweb.freebsd.org/changeset/base/250991 Log: Make the malloc(3) family of functions weak and make their non-weak implementations visible for use by applications. The functions $F that are now weak symbols are:

svn commit: r250990 - head/include

2013-05-25 Thread Ed Schouten
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 initializer, casted to a complex type. GCC has a builtin cal

Re: svn commit: r250986 - head/sys/dev/usb

2013-05-25 Thread Hans Petter Selasky
On 05/25/13 20:03, m...@freebsd.org wrote: On Sat, May 25, 2013 at 10:09 AM, Hans Petter Selasky wrote: Author: hselasky Date: Sat May 25 17:09:58 2013 New Revision: 250986 URL: http://svnweb.freebsd.org/changeset/base/250986 Log: Fix some statical clang analyzer warnings. Modified: hea

Re: svn commit: r250986 - head/sys/dev/usb

2013-05-25 Thread mdf
On Sat, May 25, 2013 at 10:09 AM, Hans Petter Selasky wrote: > Author: hselasky > Date: Sat May 25 17:09:58 2013 > New Revision: 250986 > URL: http://svnweb.freebsd.org/changeset/base/250986 > > Log: > Fix some statical clang analyzer warnings. > > Modified: > head/sys/dev/usb/usb_device.c >

svn commit: r250989 - head/tools/regression/lib/libc/locale

2013-05-25 Thread Ed Schouten
Author: ed Date: Sat May 25 18:04:24 2013 New Revision: 250989 URL: http://svnweb.freebsd.org/changeset/base/250989 Log: Add missing #includes, to keep Clang silent. Modified: head/tools/regression/lib/libc/locale/test-btowc.c head/tools/regression/lib/libc/locale/test-iswctype.c head/too

svn commit: r250986 - head/sys/dev/usb

2013-05-25 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 25 17:09:58 2013 New Revision: 250986 URL: http://svnweb.freebsd.org/changeset/base/250986 Log: Fix some statical clang analyzer warnings. Modified: head/sys/dev/usb/usb_device.c head/sys/dev/usb/usb_hub.c head/sys/dev/usb/usb_msctest.c Modified: head/sys/d

svn commit: r250985 - in head: include sys/sys

2013-05-25 Thread Ed Schouten
Author: ed Date: Sat May 25 16:58:12 2013 New Revision: 250985 URL: http://svnweb.freebsd.org/changeset/base/250985 Log: Fix in for C++11. It turns out that in C++11, char16_t and char32_t are built-in types; language keywords. Just fix this by putting traditional _*_T_DECLARED blocks

svn commit: r250984 - in head/usr.bin: mkcsmapper mkesdb

2013-05-25 Thread Ed Schouten
Author: ed Date: Sat May 25 15:36:15 2013 New Revision: 250984 URL: http://svnweb.freebsd.org/changeset/base/250984 Log: Prevent shadowing. The name line_number seems to be used as a function parameter name for one of the Lex functions. Change the name to linenumber. Modified: head/usr

Re: svn commit: r250883 - in head: include include/xlocale lib/libc/locale sys/sys tools/regression/lib/libc/locale

2013-05-25 Thread Ed Schouten
Hello all, [ +gabor ] 2013/5/22 Ed Schouten : > Oh, the horror! I thought on FreeBSD, we used the LC_CTYPE files to do > a mapping to ISO 10646. Unfortunately, it seems to be the case that > these files are only used to do mappings to > uppercase/lowercase/runetype. Bummer. So I think the soluti

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

2013-05-25 Thread Jilles Tjoelker
Author: jilles Date: Sat May 25 13:59:40 2013 New Revision: 250982 URL: http://svnweb.freebsd.org/changeset/base/250982 Log: sigreturn(2): Remove ancient compatibility warning about 4.2BSD. The HISTORY subsection still says that sigreturn() was added in 4.3BSD. Modified: head/lib/libc/sy

svn commit: r250981 - head/lib/libc/iconv

2013-05-25 Thread Ed Schouten
Author: ed Date: Sat May 25 12:13:54 2013 New Revision: 250981 URL: http://svnweb.freebsd.org/changeset/base/250981 Log: Make some tiny improvements to iconv_open(). - Remove an unneeded variable. - Fix whitespace bugs. - Fix typoes in comment. - Improve string handling a bit. Don't h

svn commit: r250980 - head/lib/libc/iconv

2013-05-25 Thread Ed Schouten
Author: ed Date: Sat May 25 12:11:20 2013 New Revision: 250980 URL: http://svnweb.freebsd.org/changeset/base/250980 Log: Only call free() on something we allocated. If we were already provided a struct _citrus_iconv (e.g. through iconv_open_into()), we should not call free() in case io_in

svn commit: r250975 - head/usr.bin/patch

2013-05-25 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Sat May 25 07:17:16 2013 New Revision: 250975 URL: http://svnweb.freebsd.org/changeset/base/250975 Log: Revert r250972 to fix build. Modified: head/usr.bin/patch/patch.c head/usr.bin/patch/util.c Modified: head/usr.bin/patch/patch.c =