Re: svn commit: r286458 - in head/sys: net netinet netinet6

2015-08-11 Thread Alexander V . Chernikov
10.08.2015, 15:20, "Alexander V. Chernikov" : > 10.08.2015, 10:55, "Julian Elischer" : >> On 8/9/15 2:15 AM, Alexander V. Chernikov wrote: >>>  Author: melifaro >>>  Date: Sat Aug 8 18:14:59 2015 >>>  New Revision: 286458 >>>  URL: https://svnweb.freebsd.org/changeset/base/286458 >>> >>>  Log: >>>

svn commit: r286618 - in head/sys: kern sys

2015-08-11 Thread Ed Schouten
Author: ed Date: Tue Aug 11 08:43:50 2015 New Revision: 286618 URL: https://svnweb.freebsd.org/changeset/base/286618 Log: Introduce kern_cap_rights_limit(). The existing sys_cap_rights_limit() expects that a cap_rights_t object lives in userspace. It is therefore hard to call into it from

svn commit: r286619 - head/sys/compat/cloudabi

2015-08-11 Thread Ed Schouten
Author: ed Date: Tue Aug 11 08:44:19 2015 New Revision: 286619 URL: https://svnweb.freebsd.org/changeset/base/286619 Log: Make cap_rights_limit() work for CloudABI processes. Call into the recently introduced kern_cap_rights_limit() function to restrict rights. Modified: head/sys/compa

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

2015-08-11 Thread Ed Schouten
2015-08-11 7:58 GMT+02:00 Xin LI : > Log: > Use __DECONST instead of doing strdup/free. Thanks! :-) -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717 ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/l

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

2015-08-11 Thread Bruce Evans
On Mon, 10 Aug 2015, Xin Li wrote: On 8/10/15 22:51, Ed Schouten wrote: 2015-08-11 1:20 GMT+02:00 Xin Li : Do you have a better solution for this? No, this is not ideal but I didn't find a better alternative (or maybe I have missed something obvious?) I think with the current POSIX definitio

svn commit: r286620 - head/contrib/netbsd-tests/lib/libc/regex

2015-08-11 Thread Baptiste Daroussin
Author: bapt Date: Tue Aug 11 08:57:04 2015 New Revision: 286620 URL: https://svnweb.freebsd.org/changeset/base/286620 Log: Disable broken test until we have time ti actually fix the test Modified: head/contrib/netbsd-tests/lib/libc/regex/t_regex_att.c Modified: head/contrib/netbsd-tests/lib

svn commit: r286621 - head/usr.sbin/bhyve

2015-08-11 Thread Alexander Motin
Author: mav Date: Tue Aug 11 08:58:00 2015 New Revision: 286621 URL: https://svnweb.freebsd.org/changeset/base/286621 Log: Fix minor typo. MFC after:3 days Modified: head/usr.sbin/bhyve/bhyve.8 Modified: head/usr.sbin/bhyve/bhyve.8 ===

svn commit: r286622 - head/usr.sbin/bhyve

2015-08-11 Thread Alexander Motin
Author: mav Date: Tue Aug 11 09:00:27 2015 New Revision: 286622 URL: https://svnweb.freebsd.org/changeset/base/286622 Log: Another small typo. MFC after:3 days Modified: head/usr.sbin/bhyve/bhyve.8 Modified: head/usr.sbin/bhyve/bhyve.8 ===

svn commit: r286623 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-11 Thread Alexander Motin
Author: mav Date: Tue Aug 11 09:18:51 2015 New Revision: 286623 URL: https://svnweb.freebsd.org/changeset/base/286623 Log: Remove extra lock, that IMO only creates potential problems now. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/sys/cddl/contrib/open

svn commit: r286624 - in head/sys: net netinet netinet6

2015-08-11 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Aug 11 09:26:11 2015 New Revision: 286624 URL: https://svnweb.freebsd.org/changeset/base/286624 Log: Store addresses instead of sockaddrs inside llentry. This permits us having all (not fully true yet) all the info needed in lookup process in first 64 bytes of 'str

Re: svn commit: r286570 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2015-08-11 Thread Dmitry Morozovsky
Alexander, On Mon, 10 Aug 2015, Alexander Motin wrote: > Author: mav > Date: Mon Aug 10 10:34:23 2015 > New Revision: 286570 > URL: https://svnweb.freebsd.org/changeset/base/286570 > > Log: > MFV r277426: 5408 managing ZFS cache devices requires lots of RAM > > illumos/illumos-gate@89c86e

Re: svn commit: r286570 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2015-08-11 Thread Alexander Motin
On 11.08.2015 12:38, Dmitry Morozovsky wrote: > Alexander, > > On Mon, 10 Aug 2015, Alexander Motin wrote: > >> Author: mav >> Date: Mon Aug 10 10:34:23 2015 >> New Revision: 286570 >> URL: https://svnweb.freebsd.org/changeset/base/286570 >> >> Log: >> MFV r277426: 5408 managing ZFS cache devic

svn commit: r286625 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-11 Thread Alexander Motin
Author: mav Date: Tue Aug 11 10:39:19 2015 New Revision: 286625 URL: https://svnweb.freebsd.org/changeset/base/286625 Log: MFV r277425: 5376 arc_kmem_reap_now() should not result in clearing arc_no_grow Reviewed by: Christopher Siden Reviewed by: George Wilson Reviewed by: Steven Hartl

Re: svn commit: r286625 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-11 Thread Andriy Gapon
On 11/08/2015 13:39, Alexander Motin wrote: > Author: mav > Date: Tue Aug 11 10:39:19 2015 > New Revision: 286625 > URL: https://svnweb.freebsd.org/changeset/base/286625 > > Log: > MFV r277425: > 5376 arc_kmem_reap_now() should not result in clearing arc_no_grow > Reviewed by: Christopher Si

Re: svn commit: r286437 - in head/sys: dev/ath dev/ath/ath_rate/sample dev/bwi dev/bwn dev/if_ndis dev/ipw dev/iwi dev/iwn dev/malo dev/mwl dev/ral dev/usb/wlan dev/wi dev/wpi dev/wtap net80211

2015-08-11 Thread Gleb Smirnoff
On Sat, Aug 08, 2015 at 01:10:19AM +, Adrian Chadd wrote: A> Author: adrian A> Date: Sat Aug 8 01:10:17 2015 A> New Revision: 286437 A> URL: https://svnweb.freebsd.org/changeset/base/286437 A> A> Log: A> Revert the wifi ifnet changes until things are more baked and tested. A> A> * 2864

Re: svn commit: r286625 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-11 Thread Baptiste Daroussin
On Tue, Aug 11, 2015 at 10:39:20AM +, Alexander Motin wrote: > Author: mav > Date: Tue Aug 11 10:39:19 2015 > New Revision: 286625 > URL: https://svnweb.freebsd.org/changeset/base/286625 > > Log: > MFV r277425: > 5376 arc_kmem_reap_now() should not result in clearing arc_no_grow > Review

svn commit: r286626 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-11 Thread Alexander Motin
Author: mav Date: Tue Aug 11 12:22:16 2015 New Revision: 286626 URL: https://svnweb.freebsd.org/changeset/base/286626 Log: Fix minor mismerge in r286574. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c ==

svn commit: r286627 - head/sys/arm64/arm64

2015-08-11 Thread Andrew Turner
Author: andrew Date: Tue Aug 11 12:32:17 2015 New Revision: 286627 URL: https://svnweb.freebsd.org/changeset/base/286627 Log: Check the correct value in db_validate_address, pmap_extract returns 0 on failure. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/arm64/db_interface.c

svn commit: r286628 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-11 Thread Alexander Motin
Author: mav Date: Tue Aug 11 12:38:01 2015 New Revision: 286628 URL: https://svnweb.freebsd.org/changeset/base/286628 Log: Fix r286625 build on i386. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c ==

svn commit: r286629 - in head/sys: net netinet netinet6

2015-08-11 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Aug 11 12:38:54 2015 New Revision: 286629 URL: https://svnweb.freebsd.org/changeset/base/286629 Log: Use single 'lle_timer' callout in lltable instead of two different names of the same timer. Modified: head/sys/net/if_llatbl.c head/sys/net/if_llatbl.h head/

svn commit: r286631 - in head/sys: kern sys

2015-08-11 Thread Ed Schouten
Author: ed Date: Tue Aug 11 13:47:23 2015 New Revision: 286631 URL: https://svnweb.freebsd.org/changeset/base/286631 Log: Add support for anonymous kqueues. CloudABI's polling system calls merge the concept of one-shot polling (poll, select) and stateful polling (kqueue). They share the s

svn commit: r286630 - head/sys/dev/psci

2015-08-11 Thread Andrew Turner
Author: andrew Date: Tue Aug 11 13:42:58 2015 New Revision: 286630 URL: https://svnweb.freebsd.org/changeset/base/286630 Log: Start to support PSCI 1.0. For all the functions we currently support this can be seen as the same as 0.2. There are changes with the data passed to CPU_SUSPEND, howe

Re: svn commit: r286524 - in head: . etc sys/dev/drm sys/dev/drm2

2015-08-11 Thread Koop Mast
On Mon, 2015-08-10 at 02:15 +0200, Jan Beich wrote: > Koop Mast writes: > > > Author: kwm (ports committer) > > Date: Sun Aug 9 12:58:56 2015 > > New Revision: 286524 > > URL: https://svnweb.freebsd.org/changeset/base/286524 > > > > Log: > > Add a new group named 'video' with the id of 44. An

Re: svn commit: r286524 - in head: . etc sys/dev/drm sys/dev/drm2

2015-08-11 Thread Ed Schouten
Hi Koop, 2015-08-09 14:58 GMT+02:00 Koop Mast : > +#define DRM_DEV_GID44 /* "video" group */ I think it looks a bit weird that DRM has these definitions locally. already has definitions for various users and groups (UID_* and GID_*). Would it make sense to add GID_VIDEO to and change t

svn commit: r286632 - head/sys/compat/cloudabi

2015-08-11 Thread Ed Schouten
Author: ed Date: Tue Aug 11 14:07:04 2015 New Revision: 286632 URL: https://svnweb.freebsd.org/changeset/base/286632 Log: Properly convert the error number to CloudABI's indexing. We currently return FreeBSD's errno value directly, which is of course not correct. Modified: head/sys/com

svn commit: r286633 - head/sys/compat/cloudabi

2015-08-11 Thread Ed Schouten
Author: ed Date: Tue Aug 11 14:08:46 2015 New Revision: 286633 URL: https://svnweb.freebsd.org/changeset/base/286633 Log: Fall back to O_RDONLY -- not O_WRONLY. If CloudABI processes open files with a set of requested rights that do not match any of the privileges granted by O_RDONLY, O_W

Re: svn commit: r286620 - head/contrib/netbsd-tests/lib/libc/regex

2015-08-11 Thread Benjamin Kaduk
On Tue, Aug 11, 2015 at 4:57 AM, Baptiste Daroussin wrote: > Author: bapt > Date: Tue Aug 11 08:57:04 2015 > New Revision: 286620 > URL: https://svnweb.freebsd.org/changeset/base/286620 > > Log: > Disable broken test until we have time ti actually fix the test > > Modified: > head/contrib/net

Re: svn commit: r286620 - head/contrib/netbsd-tests/lib/libc/regex

2015-08-11 Thread Baptiste Daroussin
On Tue, Aug 11, 2015 at 10:22:12AM -0400, Benjamin Kaduk wrote: > On Tue, Aug 11, 2015 at 4:57 AM, Baptiste Daroussin > wrote: > > > Author: bapt > > Date: Tue Aug 11 08:57:04 2015 > > New Revision: 286620 > > URL: https://svnweb.freebsd.org/changeset/base/286620 > > > > Log: > > Disable broken

Re: svn commit: r286524 - in head: . etc sys/dev/drm sys/dev/drm2

2015-08-11 Thread Warner Losh
> On Aug 11, 2015, at 7:53 AM, Koop Mast wrote: > > On Mon, 2015-08-10 at 02:15 +0200, Jan Beich wrote: >> Koop Mast writes: >> >>> Author: kwm (ports committer) >>> Date: Sun Aug 9 12:58:56 2015 >>> New Revision: 286524 >>> URL: https://svnweb.freebsd.org/changeset/base/286524 >>> >>> Log:

svn commit: r286635 - head

2015-08-11 Thread Ed Maste
Author: emaste Date: Tue Aug 11 15:43:09 2015 New Revision: 286635 URL: https://svnweb.freebsd.org/changeset/base/286635 Log: Build libelf and libdwarf in the legacy stage They need to be built and installed (including headers) prior to the DTrace CTF tools. Reviewed by: imp (as par

Re: svn commit: r286625 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-11 Thread Steven Hartland
On 11/08/2015 11:51, Andriy Gapon wrote: On 11/08/2015 13:39, Alexander Motin wrote: Author: mav Date: Tue Aug 11 10:39:19 2015 New Revision: 286625 URL: https://svnweb.freebsd.org/changeset/base/286625 Log: MFV r277425: 5376 arc_kmem_reap_now() should not result in clearing arc_no_grow

svn commit: r286639 - head/lib/libc/tests/locale

2015-08-11 Thread Baptiste Daroussin
Author: bapt Date: Tue Aug 11 16:08:10 2015 New Revision: 286639 URL: https://svnweb.freebsd.org/changeset/base/286639 Log: Actually disable the invalid test Modified: head/lib/libc/tests/locale/Makefile Modified: head/lib/libc/tests/locale/Makefile ==

svn commit: r286638 - head/contrib/netbsd-tests/lib/libc/regex

2015-08-11 Thread Baptiste Daroussin
Author: bapt Date: Tue Aug 11 16:07:24 2015 New Revision: 286638 URL: https://svnweb.freebsd.org/changeset/base/286638 Log: Reenable the test. Sorry I was testing on the wrong branch. Modified: head/contrib/netbsd-tests/lib/libc/regex/t_regex_att.c Modified: head/contrib/netbsd-tests/li

Re: svn commit: r286639 - head/lib/libc/tests/locale

2015-08-11 Thread Ed Schouten
2015-08-11 18:08 GMT+02:00 Baptiste Daroussin : > Actually disable the invalid test I thought mbrtowc_test was the one that was failing -- not mbstowcs_test. Why not simply remove the bad test vectors? -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717 _

Re: svn commit: r286490 - head/lib/libc/locale

2015-08-11 Thread Ed Schouten
2015-08-09 1:59 GMT+02:00 Baptiste Daroussin : > Remove 5 and 6 bytes sequences which are illegal in UTF-8 space. > > Per rfc3629 value greater than 0x10 should be rejected I think the change you made only ensures that the value cannot exceed 0x1f -- not 0x10. You probably need to

Re: svn commit: r286491 - head/lib/libc/locale

2015-08-11 Thread Ed Schouten
2015-08-09 2:06 GMT+02:00 Baptiste Daroussin : > Per rfc3629 value greater than 0x10 should be rejected Not only that, values between 0xd800 and 0xdfff also need to be rejected: diff --git a/lib/libc/locale/utf8.c b/lib/libc/locale/utf8.c index 55e2931..8ccfdb1 100644 --- a/lib/libc/locale/

Re: svn commit: r286639 - head/lib/libc/tests/locale

2015-08-11 Thread Ed Schouten
2015-08-11 18:18 GMT+02:00 Ed Schouten : > 2015-08-11 18:08 GMT+02:00 Baptiste Daroussin : >> Actually disable the invalid test > > I thought mbrtowc_test was the one that was failing -- not mbstowcs_test. Oh, wait. Both mbrtowc_test and mbstowcs_test are failing. -- Ed Schouten Nuxi, 's-Hert

Re: svn commit: r286491 - head/lib/libc/locale

2015-08-11 Thread Baptiste Daroussin
On Tue, Aug 11, 2015 at 06:28:06PM +0200, Ed Schouten wrote: > 2015-08-09 2:06 GMT+02:00 Baptiste Daroussin : > > Per rfc3629 value greater than 0x10 should be rejected > > Not only that, values between 0xd800 and 0xdfff also need to be rejected: > > diff --git a/lib/libc/locale/utf8.c b/li

Re: svn commit: r286490 - head/lib/libc/locale

2015-08-11 Thread Baptiste Daroussin
On Tue, Aug 11, 2015 at 06:27:01PM +0200, Ed Schouten wrote: > 2015-08-09 1:59 GMT+02:00 Baptiste Daroussin : > > Remove 5 and 6 bytes sequences which are illegal in UTF-8 space. > > > > Per rfc3629 value greater than 0x10 should be rejected > > I think the change you made only ensures tha

svn commit: r286640 - in head/sys: dev/drm dev/drm2 sys

2015-08-11 Thread Koop Mast
Author: kwm (ports committer) Date: Tue Aug 11 16:51:44 2015 New Revision: 286640 URL: https://svnweb.freebsd.org/changeset/base/286640 Log: Instead of defining the actualy user and group id in the drmP.h files define GID_VIDEO in sys/conf.h, and use it together with UID_ROOT to define DRM_D

Re: svn commit: r286625 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-11 Thread Alexander Motin
On 11.08.2015 18:47, Steven Hartland wrote: > On 11/08/2015 11:51, Andriy Gapon wrote: >> On 11/08/2015 13:39, Alexander Motin wrote: >>> Author: mav >>> Date: Tue Aug 11 10:39:19 2015 >>> New Revision: 286625 >>> URL: https://svnweb.freebsd.org/changeset/base/286625 >>> >>> Log: >>>MFV r277425

svn commit: r286641 - head/sys/netpfil/pf

2015-08-11 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Aug 11 17:24:34 2015 New Revision: 286641 URL: https://svnweb.freebsd.org/changeset/base/286641 Log: Use correct src/dst ports when removing states. Submitted by: Milosz Kaniewski , UMEZAWA Takeshi (orginal) Reviewed by: glebius Approved by:

svn commit: r286642 - in head: share/man/man9 sys/contrib/libnv

2015-08-11 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Aug 11 17:41:32 2015 New Revision: 286642 URL: https://svnweb.freebsd.org/changeset/base/286642 Log: Make the nvlist_next(9) function handle NULL pointer variable. This simplifies removing the first element from nvlist. Reviewed by: AllanJude Approved by: pjd

svn commit: r286643 - head

2015-08-11 Thread Ed Maste
Author: emaste Date: Tue Aug 11 17:48:58 2015 New Revision: 286643 URL: https://svnweb.freebsd.org/changeset/base/286643 Log: Fix comment describing legacy target and wrap to 80 columns Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r286644 - head/sys/contrib/libnv

2015-08-11 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Aug 11 17:54:51 2015 New Revision: 286644 URL: https://svnweb.freebsd.org/changeset/base/286644 Log: Don't set parent if the unpack operation fail. In some case this could crash the library, because of the NULL pointer references. Discovered thanks to american fu

svn commit: r286645 - head/sys/contrib/libnv

2015-08-11 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Aug 11 18:01:10 2015 New Revision: 286645 URL: https://svnweb.freebsd.org/changeset/base/286645 Log: The nvlist_move_nvpair() function can fail in two cases, if: - the nvlist error is set, or - the nvlist case ignore flag is not set and there is attend to add el

svn commit: r286646 - head/sys/contrib/libnv

2015-08-11 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Aug 11 18:17:31 2015 New Revision: 286646 URL: https://svnweb.freebsd.org/changeset/base/286646 Log: If any function fail (the ptr variable will be equal to NULL), we shouldn't return buffer. Instead we should free it and return NULL. Approved by: pjd (mentor)

svn commit: r286647 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-11 Thread Alexander Motin
Author: mav Date: Tue Aug 11 19:15:55 2015 New Revision: 286647 URL: https://svnweb.freebsd.org/changeset/base/286647 Log: Fix assertion panic caused by combination of r286598 and TRIM. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/sys/cddl/contrib/openso

svn commit: r286648 - head/sys/arm/ti/am335x

2015-08-11 Thread Ian Lepore
Author: ian Date: Tue Aug 11 19:25:26 2015 New Revision: 286648 URL: https://svnweb.freebsd.org/changeset/base/286648 Log: Make this compile again when PPS_SYNC is defined. Also remove a couple comment blocks and constants that no longer apply. Modified: head/sys/arm/ti/am335x/am335x_dmtim

svn commit: r286649 - in head: contrib/netbsd-tests/lib/libc/locale lib/libc/tests/locale

2015-08-11 Thread Jilles Tjoelker
Author: jilles Date: Tue Aug 11 21:59:36 2015 New Revision: 286649 URL: https://svnweb.freebsd.org/changeset/base/286649 Log: Fix and re-enable UTF-8 tests. Modified: head/contrib/netbsd-tests/lib/libc/locale/t_mbrtowc.c head/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c head/lib/libc

Re: svn commit: r286649 - in head: contrib/netbsd-tests/lib/libc/locale lib/libc/tests/locale

2015-08-11 Thread Baptiste Daroussin
On Tue, Aug 11, 2015 at 09:59:36PM +, Jilles Tjoelker wrote: > Author: jilles > Date: Tue Aug 11 21:59:36 2015 > New Revision: 286649 > URL: https://svnweb.freebsd.org/changeset/base/286649 > > Log: > Fix and re-enable UTF-8 tests. > Thank you very much I should have fixed it myself earlier

Re: svn commit: r286649 - in head: contrib/netbsd-tests/lib/libc/locale lib/libc/tests/locale

2015-08-11 Thread NGie Cooper
On Tue, Aug 11, 2015 at 2:59 PM, Jilles Tjoelker wrote: > Author: jilles > Date: Tue Aug 11 21:59:36 2015 > New Revision: 286649 > URL: https://svnweb.freebsd.org/changeset/base/286649 > > Log: > Fix and re-enable UTF-8 tests. > > Modified: > head/contrib/netbsd-tests/lib/libc/locale/t_mbrtowc

svn commit: r286650 - head/etc

2015-08-11 Thread Xin LI
Author: delphij Date: Tue Aug 11 22:43:28 2015 New Revision: 286650 URL: https://svnweb.freebsd.org/changeset/base/286650 Log: Disable building INDEX-9 and INDEX-10 because they are not useful for users who uses only FreeBSD -CURRENT, and building these indexes are only useful to those who s

svn commit: r286651 - head/lib/libc/string

2015-08-11 Thread Marcelo Araujo
Author: araujo Date: Wed Aug 12 00:49:20 2015 New Revision: 286651 URL: https://svnweb.freebsd.org/changeset/base/286651 Log: Describe that bcopy(3) is deprecated and marked as LEGACY in POSIX.1-2001 and removed from the specification in POSIX.1-2008. New softwares shall use memcpy(3) or mem

Re: svn commit: r286651 - head/lib/libc/string

2015-08-11 Thread Marcelo Araujo
2015-08-12 8:49 GMT+08:00 Marcelo Araujo : > Author: araujo > Date: Wed Aug 12 00:49:20 2015 > New Revision: 286651 > URL: https://svnweb.freebsd.org/changeset/base/286651 > > Log: > Describe that bcopy(3) is deprecated and marked as LEGACY in > POSIX.1-2001 and removed from the specification

Re: svn commit: r286649 - in head: contrib/netbsd-tests/lib/libc/locale lib/libc/tests/locale

2015-08-11 Thread Craig Rodrigues
On Tue, Aug 11, 2015 at 2:59 PM, Jilles Tjoelker wrote: > Author: jilles > Date: Tue Aug 11 21:59:36 2015 > New Revision: 286649 > URL: https://svnweb.freebsd.org/changeset/base/286649 > > Log: > Fix and re-enable UTF-8 tests. > > Modified: > head/contrib/netbsd-tests/lib/libc/locale/t_mbrtow

svn commit: r286652 - head/tools/build/mk

2015-08-11 Thread Julio Merino
Author: jmmv Date: Wed Aug 12 03:03:51 2015 New Revision: 286652 URL: https://svnweb.freebsd.org/changeset/base/286652 Log: Mark usr/include/c++/v1/tr1 as obsolete The directory usr/include/c++/v1 was marked as obsolete but its tr1 subdir was not, resulting in a removal error in delete-ol

Re: svn commit: r286651 - head/lib/libc/string

2015-08-11 Thread Bruce Evans
On Wed, 12 Aug 2015, Marcelo Araujo wrote: Log: Describe that bcopy(3) is deprecated and marked as LEGACY in POSIX.1-2001 and removed from the specification in POSIX.1-2008. Only new and old POSIX software and all Standard C software. Standard C never had bcopy(). POSIX didn't have it unti

svn commit: r286653 - head/sys/dev/uart

2015-08-11 Thread Marcel Moolenaar
Author: marcel Date: Wed Aug 12 04:03:04 2015 New Revision: 286653 URL: https://svnweb.freebsd.org/changeset/base/286653 Log: Use bus_alloc_resource_any(), rather than bus_alloc_resource() with start 0 and end ~0. This avoids confusion WRT to what the value of length can or should be. Modif

Re: svn commit: r286651 - head/lib/libc/string

2015-08-11 Thread Marcelo Araujo
Hello bde@ Maybe change it as it is in NetBSD would be better: http://netbsd.gw.com/cgi-bin/man-cgi?bcopy+3+NetBSD-current They still mention about memcpy(3). However, I need to check their implementation. What do you think? 2015-08-12 11:51 GMT+08:00 Bruce Evans : > On Wed, 12 Aug 2015, Marce