Re: svn commit: r313878 - head/sys/kern

2017-02-21 Thread Kyle Evans
On Tue, Feb 21, 2017 at 1:11 AM, Andriy Gapon wrote: > On 21/02/2017 02:42, Pedro Giffuni wrote: >> [...] >> >> As I mentioned in another thread, other svn configurations (ASF, for example) >> permit editing the log message: >> >>

Re: svn commit: r309124 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builtins/arm contri

2016-11-28 Thread Kyle Evans
Hi, On Thu, Nov 24, 2016 at 4:54 PM, Dimitry Andric wrote: > Author: dim > Date: Thu Nov 24 22:54:55 2016 > New Revision: 309124 > URL: https://svnweb.freebsd.org/changeset/base/309124 > > Log: > Upgrade our copies of clang, llvm, lldb, compiler-rt and libc++ to 3.9.0 >

Re: svn commit: r309124 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builtins/arm contri

2016-11-28 Thread Kyle Evans
On Mon, Nov 28, 2016 at 1:44 PM, Dimitry Andric <d...@freebsd.org> wrote: > On 28 Nov 2016, at 03:20, Kyle Evans <kevan...@ksu.edu> wrote: >> >> On Thu, Nov 24, 2016 at 4:54 PM, Dimitry Andric <d...@freebsd.org> wrote: >>> Author: dim >>> Date

Re: svn commit: r309124 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builtins/arm contri

2016-11-27 Thread Kyle Evans
On Nov 27, 2016 20:20, "Kyle Evans" <kevan...@ksu.edu> wrote: > > Hi, > > On Thu, Nov 24, 2016 at 4:54 PM, Dimitry Andric <d...@freebsd.org> wrote: > > Author: dim > > Date: Thu Nov 24 22:54:55 2016 > > New Revision: 309124 > > URL: ht

Re: svn commit: r309374 - in head: sbin/camcontrol sys/cam/scsi

2016-12-02 Thread Kyle Evans
ing error: /wifi-build/src/sbin/camcontrol/timestamp.c: In function 'timestamp': /wifi-build/src/sbin/camcontrol/timestamp.c:459:25: error: 'ts' may be used uninitialized in this function [-Werror=maybe-uninitialized] time_t time_var = ts / 1000; I understand that this is a bogus

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Kyle Evans
ep_* versions of `malloc`, `calloc`, `realloc`, and `strdup` that I've developed a slight distaste for. The "xmalloc" flavor also had some hash table bits to allow failing after $n allocations -- is that a slightly less common GNU-ism? Thanks, Kyle Evans _

Re: svn commit: r316492 - in head/usr.bin/grep: . regex

2017-04-04 Thread Kyle Evans
On Tue, Apr 4, 2017 at 2:45 PM, Ngie Cooper (yaneurabeya) < yaneurab...@gmail.com> wrote: > > > On Apr 4, 2017, at 12:04, Conrad Meyer wrote: > > > > On Tue, Apr 4, 2017 at 11:56 AM, Dimitry Andric wrote: > >> On 4 Apr 2017, at 19:14, Ngie Cooper

Re: svn commit: r316477 - head/usr.bin/grep

2017-04-04 Thread Kyle Evans
On Tue, Apr 4, 2017 at 7:51 PM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > Also it might be worth making NetBSD aware of the bad output, and fix > it there, and the regression test, and everyone well be better off. > FWIW- I've been in contact with ngie@ w.r.t regression

Re: svn commit: r316495 - head/usr.bin/grep/regex

2017-04-04 Thread Kyle Evans
s > > Invalid expressions with an ultimate compiled pattern length of 0 (e.g., > "grep -E {") were not taken into account and caused a segfault while > trying > to fill in the good suffix table. > > Submitted by: Kyle Evans > Reviewed by: me > Differential Revi

Re: svn commit: r316477 - head/usr.bin/grep

2017-04-04 Thread Kyle Evans
), which > is typical of most of the ANSI escape sequences." Hi ache@, This specific change was made in the name of explicitly matching colored output of GNU grep for simplification of regression test purposes, rather than for good form. Is it still unacceptable to do so? Thanks, Kyle Evans _

Re: svn commit: r316477 - head/usr.bin/grep

2017-04-04 Thread Kyle Evans
First, apologies, I must rewind: what did you mean initially by "We don't need to handle internally [...]" -- the second half I understand, but it occurs to me that we should already be internally handling \33[m = \33[00m as defined by ANSI. On Tue, Apr 4, 2017 at 7:37 AM, Andrey Chernov

Re: svn commit: r316477 - head/usr.bin/grep

2017-04-04 Thread Kyle Evans
On Tue, Apr 4, 2017 at 8:19 AM, Andrey Chernov <a...@freebsd.org> wrote: > On 04.04.2017 16:09, Kyle Evans wrote: > > > > First, apologies, I must rewind: what did you mean initially by "We > > don't need to handle internally [...]" > > -- the se

Re: svn commit: r316477 - head/usr.bin/grep

2017-04-04 Thread Kyle Evans
On Tue, Apr 4, 2017 at 8:53 AM, Ed Maste wrote: > In this case I'd rather we remove the 00 and have the test verify > that. I think it's fine if there are a few tests that fail when run > with GNU grep where it has the undesired, differing behaviour. > Excellent- can you

Re: svn commit: r316536 - in head: contrib/netbsd-tests/usr.bin/grep usr.bin/grep/tests

2017-04-05 Thread Kyle Evans
On Wed, Apr 5, 2017 at 6:06 PM, Ngie Cooper (yaneurabeya) < yaneurab...@gmail.com> wrote: > > > > > > Yup! > -Ngie > > Given no objections from emaste@ (seems unlikely, given the content), can one of you please commit this when able? It seems like a good idea for the sake of providing context

Re: svn commit: r316536 - in head: contrib/netbsd-tests/usr.bin/grep usr.bin/grep/tests

2017-04-05 Thread Kyle Evans
On Wed, Apr 5, 2017 at 1:48 PM, Ngie Cooper (yaneurabeya) < yaneurab...@gmail.com> wrote: > > As a general rule of thumb, if it doesn’t pass, it needs to be > marked as an expected failure until it passes. Not really a big deal right > now (because ci.freebsd.org isn’t spamming current@ —

svn commit: r322557 - in stable/11/usr.bin/grep: . regex

2017-08-15 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 00:23:59 2017 New Revision: 322557 URL: https://svnweb.freebsd.org/changeset/base/322557 Log: MFC r316492: bsdgrep(1): Rip out "xmalloc" bits xmalloc was a debug malloc implementation, but the x{malloc,calloc,free} functions default to calling the

svn commit: r322564 - in stable/11/usr.bin/grep: . tests

2017-08-15 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 01:45:53 2017 New Revision: 322564 URL: https://svnweb.freebsd.org/changeset/base/322564 Log: bsdgrep: Use implied working directory for -r if no directories are passed MFC r317050: bsdgrep: for -r, use the working directory if none specified This is

svn commit: r322560 - in stable/11/usr.bin/grep: . nls

2017-08-15 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 00:47:53 2017 New Revision: 322560 URL: https://svnweb.freebsd.org/changeset/base/322560 Log: bsdgrep: add -z/--null-data support and update NLS catalogs accordingly MFC r317049: bsdgrep: add -z/--null-data support -z treats input and output data as

svn commit: r322555 - in stable/11: contrib/netbsd-tests/usr.bin/grep usr.bin/grep usr.bin/grep/tests

2017-08-15 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 00:12:22 2017 New Revision: 322555 URL: https://svnweb.freebsd.org/changeset/base/322555 Log: bsdgrep: Fix matching behavior and add regression tests MFC r316477: bsdgrep: fix matching behaviour - Set REG_NOTBOL if we've already matched beginning of

svn commit: r322556 - stable/11/contrib/netbsd-tests/usr.bin/grep

2017-08-15 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 00:19:59 2017 New Revision: 322556 URL: https://svnweb.freebsd.org/changeset/base/322556 Log: MFC r316750 (ngie): Fix expectations for testcases per bsdgrep vs gnu grep The following failures occur with various versions of grep: BSD grep: - :context

svn commit: r322558 - stable/11/usr.bin/grep/regex

2017-08-15 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 00:40:13 2017 New Revision: 322558 URL: https://svnweb.freebsd.org/changeset/base/322558 Log: MFC r316495: bsdgrep(1): Fix errors with invalid expressions Invalid expressions with an ultimate compiled pattern length of 0 (e.g., "grep -E {") were not taken

svn commit: r322561 - stable/11/contrib/netbsd-tests/usr.bin/grep

2017-08-15 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 00:55:56 2017 New Revision: 322561 URL: https://svnweb.freebsd.org/changeset/base/322561 Log: bsdgrep: Revise tests based on recent fixes and future changes MFC r317297: Remove the expected failures for :context and :context2 with bsdgrep(1) They're

svn commit: r322559 - stable/11/usr.bin/grep

2017-08-15 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 00:42:51 2017 New Revision: 322559 URL: https://svnweb.freebsd.org/changeset/base/322559 Log: MFC r316542: bsdgrep: Handle special case of single-byte NUL pattern PR: 202022 Approved by: emaste (mentor, blanket MFC) Modified:

svn commit: r322562 - stable/11/usr.bin/grep

2017-08-15 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 01:03:04 2017 New Revision: 322562 URL: https://svnweb.freebsd.org/changeset/base/322562 Log: MFC r317051: bsdgrep: remove output separators between overlapping segments Make bsdgrep more sensitive to context overlaps. If it's printing context that either

svn commit: r322577 - stable/11/usr.bin/grep

2017-08-16 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 13:06:26 2017 New Revision: 322577 URL: https://svnweb.freebsd.org/changeset/base/322577 Log: MFC r303444 (ed): Call basename() in a portable way. Pull a copy of the filename string before calling basename(). Change the loop to not return on its own, so we

svn commit: r322520 - stable/11/usr.bin/grep

2017-08-14 Thread Kyle Evans
Author: kevans Date: Mon Aug 14 21:48:50 2017 New Revision: 322520 URL: https://svnweb.freebsd.org/changeset/base/322520 Log: MFC r313948: bsdgrep: fix EOF handling with --mmap Rework part of the loop in grep_fgetln to return the rest of the line and ensure that we still advance the

svn commit: r322525 - stable/11/usr.bin/grep

2017-08-14 Thread Kyle Evans
Author: kevans Date: Tue Aug 15 01:22:39 2017 New Revision: 322525 URL: https://svnweb.freebsd.org/changeset/base/322525 Log: bsdgrep: treat rgrep as grep -r and install rgrep symlink MFC r316473: bsdgrep: treat rgrep as grep -r MFC r316484: bsdgrep(1): create rgrep link Create a

svn commit: r322609 - in stable/11: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 04:26:04 2017 New Revision: 322609 URL: https://svnweb.freebsd.org/changeset/base/322609 Log: MFC r318571: bsdgrep: emit more than MAX_LINE_MATCHES per line We should not set an arbitrary cap on the number of matches on a line, and in any case

svn commit: r322607 - in stable/11: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 04:04:42 2017 New Revision: 322607 URL: https://svnweb.freebsd.org/changeset/base/322607 Log: bsdgrep: Don't allow negative context flags, add more tests MFC r318302: bsdgrep: don't allow negative -A / -B / -C Previously, when given a negative -A/-B/-C

svn commit: r322608 - in stable/11: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 04:18:31 2017 New Revision: 322608 URL: https://svnweb.freebsd.org/changeset/base/322608 Log: bsdgrep: fix segfault with --mmap and add relevant test MFC r318565: bsdgrep: fix segfault with --mmap r313948 partially fixed --mmap behavior but was

svn commit: r322610 - in stable/11: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 04:30:31 2017 New Revision: 322610 URL: https://svnweb.freebsd.org/changeset/base/322610 Log: MFC r318574: bsdgrep: Correct per-line line metadata printing Metadata printing with -b, -H, or -n flags suffered from a few flaws: 1) -b/offset printing was

svn commit: r322606 - stable/11/contrib/netbsd-tests/usr.bin/grep

2017-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 03:56:42 2017 New Revision: 322606 URL: https://svnweb.freebsd.org/changeset/base/322606 Log: MFC r318004 (ngie): Remove expected failure that no longer fails with gnu grep in base Approved by: emaste (mentor, blanket MFC) Modified:

svn commit: r320796 - head/lib/libc/regex

2017-07-07 Thread Kyle Evans
Author: kevans Date: Fri Jul 7 22:00:39 2017 New Revision: 320796 URL: https://svnweb.freebsd.org/changeset/base/320796 Log: Correctly ignore branch operators in the top-level parser when applicable. An oversight in r320742 caused BREs to become sensitive to the branching operator

svn commit: r320754 - in head/usr.bin/grep: . tests

2017-07-06 Thread Kyle Evans
(r320753) +++ head/usr.bin/grep/tests/grep_freebsd_test.shThu Jul 6 19:53:30 2017(r320754) @@ -1,5 +1,5 @@ # -# Copyright (c) 2017 Kyle Evans <kevan...@ksu.edu> +# Copyright (c) 2017 Kyle Evans <kev...@freebsd.org> # All rights reserved. # # Redistribution and u

svn commit: r320742 - head/lib/libc/regex

2017-07-06 Thread Kyle Evans
Author: kevans Date: Thu Jul 6 17:01:51 2017 New Revision: 320742 URL: https://svnweb.freebsd.org/changeset/base/320742 Log: The impending libregex will implement GNU extensions to bring BREs and EREs closer together. Prepare for this and reduce the diff of libregex changes by refactoring

svn commit: r320750 - head/lib/libc/regex

2017-07-06 Thread Kyle Evans
Author: kevans Date: Thu Jul 6 18:21:30 2017 New Revision: 320750 URL: https://svnweb.freebsd.org/changeset/base/320750 Log: Fix sparc64 libc build after r320742. p_branch_empty was declared but never used due to an oversight. Use it as designed, further comment on its return value.

svn commit: r320930 - in head: etc/mtree usr.bin/hexdump usr.bin/hexdump/tests

2017-07-12 Thread Kyle Evans
Copyright (c) 2017 Kyle Evans <kev...@freebsd.org> +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the

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

2017-07-20 Thread Kyle Evans
Author: kevans Date: Fri Jul 21 01:35:55 2017 New Revision: 321315 URL: https://svnweb.freebsd.org/changeset/base/321315 Log: Add regression test for recent regex(3) breakage BREs recently became prematurely sensitive to the branching operator, which outright broke expressions that used

svn commit: r321450 - in head: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-07-24 Thread Kyle Evans
Author: kevans Date: Tue Jul 25 01:50:37 2017 New Revision: 321450 URL: https://svnweb.freebsd.org/changeset/base/321450 Log: bsdgrep(1): Don't exit before processing every file Given an empty pattern (i.e. grep "" A B), bsdgrep(1) would previously exit() with the appropriate exit code

svn commit: r320506 - head/share/misc

2017-06-30 Thread Kyle Evans
th\nkensm...@freebsd.org\n2004/01/23"] +kevans [label="Kyle Evans\nkev...@freebsd.org\n2017/06/20"] kevlo [label="Kevin Lo\nke...@freebsd.org\n2006/07/23"] kib [label="Konstantin Belousov\n...@freebsd.org\n2006/06/03"] kmacy [label="Kip Macy\nkm...@freebsd.o

svn commit: r322211 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex

2017-08-07 Thread Kyle Evans
Author: kevans Date: Tue Aug 8 04:10:46 2017 New Revision: 322211 URL: https://svnweb.freebsd.org/changeset/base/322211 Log: regex(3): Handle invalid {} constructs consistently and adjust tests Currently, regex(3) exhibits the following wrong behavior as demonstrated with sed: -

svn commit: r322293 - head/bin/df

2017-08-08 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 01:24:52 2017 New Revision: 322293 URL: https://svnweb.freebsd.org/changeset/base/322293 Log: df(1): Add --si as an alias for -H Reviewed by: cem (earlier version), emaste Approved by: emaste (mentor) Differential Revision:

svn commit: r322288 - head/lib/libc/regex

2017-08-08 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 01:04:36 2017 New Revision: 322288 URL: https://svnweb.freebsd.org/changeset/base/322288 Log: regex(3): Refactor fast/slow stepping bits in the matching engine Adding features for matching is fairly straightforward, but this requires some duplication

svn commit: r322291 - in head/usr.bin/du: . tests

2017-08-08 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 01:19:19 2017 New Revision: 322291 URL: https://svnweb.freebsd.org/changeset/base/322291 Log: du(1): Add --si option to display in terms of powers of 1000 Reviewed by: cem (earlier version), emaste Approved by: emaste (mentor) Differential Revision:

svn commit: r322330 - head/usr.bin/calendar/calendars

2017-08-09 Thread Kyle Evans
09/24 Larry Rosenman <l...@freebsd.org> born in Queens, New York, United States, 1957 +09/27 Kyle Evans <kev...@freebsd.org> born in Oklahoma City, Oklahoma, United States, 1991 09/27 Neil Blakey-Milner <n...@freebsd.org> born in Port Elizabeth, South Africa, 1978 09/27 Ren

svn commit: r322322 - head/lib/libusb

2017-08-09 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 18:06:27 2017 New Revision: 322322 URL: https://svnweb.freebsd.org/changeset/base/322322 Log: libusb(3): Expose device caps as libusb_bos_descriptor::dev_capability Some libusb consumers in Linux-land (in this case, libusb4java) expect a dev_capability

svn commit: r322324 - head/lib/libcapsicum

2017-08-09 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 18:15:07 2017 New Revision: 322324 URL: https://svnweb.freebsd.org/changeset/base/322324 Log: capsicum_helpers: Add FIODTYPE to default ioctls allowed FIODTYPE will be needed by hexdump(1) to speed up the -s flag on devices that should be able to support

svn commit: r322177 - head/usr.bin/indent

2017-08-07 Thread Kyle Evans
Author: kevans Date: Mon Aug 7 18:01:27 2017 New Revision: 322177 URL: https://svnweb.freebsd.org/changeset/base/322177 Log: Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1) Instead of using a non-configurable ".BAK" suffix, respect the SIMPLE_BACKUP_SUFFIX environment

svn commit: r322587 - in stable/11: contrib/netbsd-tests/usr.bin/grep usr.bin/grep usr.bin/grep/tests

2017-08-16 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 18:00:32 2017 New Revision: 322587 URL: https://svnweb.freebsd.org/changeset/base/322587 Log: bsdgrep: fix -w flag matching with an empty pattern MFC r317703: bsdgrep: fix -w flag matching with an empty pattern -w flag matching with an empty pattern was

svn commit: r322582 - in stable/11: share/man/man5 share/mk tools/build/options usr.bin/grep

2017-08-16 Thread Kyle Evans
fixed (r316495) while fixes for others are in review (D10098). In comparison with the fastmatch implementation, Kyle Evans found that: - regex(3)'s performance with literal expressions offers a speed improvement over fastmatch - regex(3)'s performance, both with simple BREs

svn commit: r322586 - stable/11/usr.bin/grep/regex

2017-08-16 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 17:54:29 2017 New Revision: 322586 URL: https://svnweb.freebsd.org/changeset/base/322586 Log: bsdgrep: fix escape map building when using TRE (BSD_GREP_FASTMATCH) MFC r317700: bsdgrep: use calloc where appropriate in grep's tre-fastmatch Also apply

svn commit: r322583 - in stable/11: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-08-16 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 17:42:39 2017 New Revision: 322583 URL: https://svnweb.freebsd.org/changeset/base/322583 Log: MFC r317665: bsdgrep: fix -w -v matching improperly with certain patterns -w and -v flag matching was mostly functional but had some minor problems: 1. -w

svn commit: r322584 - in stable/11/usr.bin/grep: . nls

2017-08-16 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 17:46:45 2017 New Revision: 322584 URL: https://svnweb.freebsd.org/changeset/base/322584 Log: MFC r317678: bsdgrep: Add GNU compatible version string indicator As reported in r218614 it's useful to have an indication of whether or not BSD grep was built

svn commit: r322597 - stable/11/usr.bin/grep

2017-08-16 Thread Kyle Evans
Author: kevans Date: Wed Aug 16 22:00:56 2017 New Revision: 322597 URL: https://svnweb.freebsd.org/changeset/base/322597 Log: MFC r317705: bsdgrep: avoid use of magic number for REG_NOSPEC Approved by: emaste (mentor, blanket MFC) Modified: stable/11/usr.bin/grep/grep.c Directory

svn commit: r322618 - head/usr.bin/grep

2017-08-17 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 13:40:45 2017 New Revision: 322618 URL: https://svnweb.freebsd.org/changeset/base/322618 Log: bsdgrep: cast pmatch.rm_so to fix build when linking against libgnuregex Reported by: many Approved by: emaste (mentor) MFC after:immediate Modified:

svn commit: r322619 - stable/11/usr.bin/grep

2017-08-17 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 13:48:46 2017 New Revision: 322619 URL: https://svnweb.freebsd.org/changeset/base/322619 Log: bsdgrep: fix build when linking against libgnuregex MFC r322618: bsdgrep: cast pmatch.rm_so to fix build when linking against libgnuregex Approved by:

Re: svn commit: r322619 - stable/11/usr.bin/grep

2017-08-17 Thread Kyle Evans
> On 17/08/2017 14:48, Kyle Evans wrote: > > Author: kevans > Date: Thu Aug 17 13:48:46 2017 > New Revision: 322619 > URL: https://svnweb.freebsd.org/changeset/base/322619 > > Log: > bsdgrep: fix build when linking against libgnuregex > > MFC r322618: bsdgrep: cas

svn commit: r322622 - stable/11/usr.bin/grep

2017-08-17 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 17:09:28 2017 New Revision: 322622 URL: https://svnweb.freebsd.org/changeset/base/322622 Log: MFC r318914: bsdgrep: correct assumptions to prepare for chunking Correct a couple of minor BSD grep assumptions that are valid for line processing but not future

svn commit: r322624 - stable/11/usr.bin/grep/regex

2017-08-17 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 17:13:15 2017 New Revision: 322624 URL: https://svnweb.freebsd.org/changeset/base/322624 Log: MFC r318916: bsdgrep: use safer sizeof() construct Approved by: emaste (mentor, blanket MFC) Modified: stable/11/usr.bin/grep/regex/tre-fastmatch.c Directory

svn commit: r322625 - in stable/11/usr.bin/grep: . tests

2017-08-17 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 17:17:28 2017 New Revision: 322625 URL: https://svnweb.freebsd.org/changeset/base/322625 Log: bsdgrep: bump version number to 2.6.0 and update copyright information MFC r319132: bsdgrep: bump version number and add Kyle Evans copyright The following

Re: svn commit: r320284 - head

2017-06-26 Thread Kyle Evans
Hi, This broke my setup that builds my 7 different kernels due to duplicate target errors. This seems to do what I want: https://files.kyle- evans.net/freebsd/fix-packages.diff =) Thanks, Kyle Evans On Fri, Jun 23, 2017 at 1:26 PM, Bryan Drewery <bdrew...@freebsd.org> wrote: &g

svn commit: r323615 - head/share/mk

2017-09-15 Thread Kyle Evans
Author: kevans Date: Fri Sep 15 15:57:15 2017 New Revision: 323615 URL: https://svnweb.freebsd.org/changeset/base/323615 Log: bsdgrep: disable TRE implementation by default Start the phasing out of TRE by disabling it by default. r317254 introduced a BSD_GREP_FASTMATCH knob (defaulting

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

2017-10-09 Thread Kyle Evans
Author: kevans Date: Mon Oct 9 14:50:02 2017 New Revision: 324431 URL: https://svnweb.freebsd.org/changeset/base/324431 Log: patch(1): Don't overrun line buffer in some cases Patches like file.txt attached to PR 190195 with a final line formed like ">(EOL)" could cause a copy past the

svn commit: r323443 - in stable/11: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-09-11 Thread Kyle Evans
Author: kevans Date: Mon Sep 11 15:52:24 2017 New Revision: 323443 URL: https://svnweb.freebsd.org/changeset/base/323443 Log: bsdgrep: add a primitive literal matcher to unbreak fgrep in some scenarios MFC r322825: bsdgrep: add some additional tests for fgrep Previously added tests

svn commit: r322777 - in stable/11: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-08-21 Thread Kyle Evans
Author: kevans Date: Tue Aug 22 02:03:01 2017 New Revision: 322777 URL: https://svnweb.freebsd.org/changeset/base/322777 Log: MFC r321450: bsdgrep(1): Don't exit before processing every file Given an empty pattern (i.e. grep "" A B), bsdgrep(1) would previously exit() with the

svn commit: r322826 - head/usr.bin/grep

2017-08-23 Thread Kyle Evans
Author: kevans Date: Thu Aug 24 01:23:33 2017 New Revision: 322826 URL: https://svnweb.freebsd.org/changeset/base/322826 Log: bsdgrep: add a primitive literal matcher fgrep/grep -F will error out at runtime if compiled with a regex(3) that does not define REG_NOSPEC or REG_LITERAL. glibc

svn commit: r322825 - head/contrib/netbsd-tests/usr.bin/grep

2017-08-23 Thread Kyle Evans
Author: kevans Date: Thu Aug 24 01:20:52 2017 New Revision: 322825 URL: https://svnweb.freebsd.org/changeset/base/322825 Log: bsdgrep: add some additional tests for fgrep Previously added tests only check that fgrep is somewhat sane and works. Add some more tests that check that the

svn commit: r324286 - head/usr.bin/hexdump/tests

2017-10-04 Thread Kyle Evans
Author: kevans Date: Wed Oct 4 18:11:00 2017 New Revision: 324286 URL: https://svnweb.freebsd.org/changeset/base/324286 Log: hexdump: Remove expected test failures for now succeeding tests r323990 fixed the -s flag breakage reported by PR 219173. Mark the corresponding hexdump tests

svn commit: r326191 - head/sys/arm/allwinner

2017-11-25 Thread Kyle Evans
Author: kevans Date: Sat Nov 25 16:46:35 2017 New Revision: 326191 URL: https://svnweb.freebsd.org/changeset/base/326191 Log: Allwinner a83t: enable USB support Originally a patch by Mark Millard, augmented with information from work done on NetBSD by jmcneill@. Submitted by: Mark

svn commit: r326141 - head/sys/arm/allwinner/clkng

2017-11-23 Thread Kyle Evans
Author: kevans Date: Fri Nov 24 02:39:38 2017 New Revision: 326141 URL: https://svnweb.freebsd.org/changeset/base/326141 Log: Add ccu compat string for Allwinner a83t A ccu driver was added for the a83t in r326114. Add compat string to aw_ccung and register the clocks for the a83t upon

svn commit: r326113 - head/sys/arm/allwinner/clkng

2017-11-22 Thread Kyle Evans
Author: kevans Date: Thu Nov 23 05:43:44 2017 New Revision: 326113 URL: https://svnweb.freebsd.org/changeset/base/326113 Log: aw_ccung: changes to accommodate upcoming a83t support Add a means to specify mask/value for the prediv condition instead of shift/width/value for clocks that

svn commit: r326114 - in head/sys/arm/allwinner: a83t clkng

2017-11-22 Thread Kyle Evans
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/allwinner/clkng/ccu_a83t.c Thu Nov 23 05:54:04 2017 (r326114) @@ -0,0 +1,779 @@ +/*- + * Copyright (c) 2017 Kyle Evans <

svn commit: r326190 - in head/sys/arm/allwinner: a83t clkng

2017-11-25 Thread Kyle Evans
Author: kevans Date: Sat Nov 25 15:14:40 2017 New Revision: 326190 URL: https://svnweb.freebsd.org/changeset/base/326190 Log: Add r-ccu support for the Allwinner a83t The r-ccu on the a83t differs from the others only by what it names the ar100 parents. Export the _CCU macros (now

Re: svn commit: r326454 - in head/sys: conf dev/bwn gnu/dev/bwn/phy_n modules/bwn modules/bwn_pci

2017-12-01 Thread Kyle Evans
o previously unsupported, BCMA-based N-PHY chipsets: - BCM43224 - BCM43225 Hi, I'm pretty sure we've discussed this, but I don't recall to what detail that was- I recall that the 4313 is BCMA, but does it have one of the PHYs that we support already? I

svn commit: r326433 - head/sys/arm/allwinner

2017-12-01 Thread Kyle Evans
Author: kevans Date: Fri Dec 1 20:51:08 2017 New Revision: 326433 URL: https://svnweb.freebsd.org/changeset/base/326433 Log: a10_gpio: Add support for more modern pin configuration a10_gpio previously accepted only {allwinner,}drive and {allwinner,}pull for drive/bias setting, while

svn commit: r325991 - head/sys/arm/allwinner

2017-11-18 Thread Kyle Evans
Author: kevans Date: Sun Nov 19 03:14:10 2017 New Revision: 325991 URL: https://svnweb.freebsd.org/changeset/base/325991 Log: aw_nmi: add support for a31/a83t's r_intc We currently support the a83t's r_intc in a somewhat hack-ish way; our .dts describes it as nmi_intc, and uses a subset

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

2017-11-21 Thread Kyle Evans
Author: kevans Date: Wed Nov 22 03:44:19 2017 New Revision: 326084 URL: https://svnweb.freebsd.org/changeset/base/326084 Log: patch(1): don't assume a match if we run out of context to check Patches with very little context (-U0 and -U1) could get misapplied if the file to be patched

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

2017-11-03 Thread Kyle Evans
Author: kevans Date: Fri Nov 3 17:04:30 2017 New Revision: 325365 URL: https://svnweb.freebsd.org/changeset/base/325365 Log: patch(1): don't assume a match if we run out of context to check Patches with very little context (-U0 and -U1) could get misapplied if the file to be patched

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

2017-11-08 Thread Kyle Evans
Author: kevans Date: Wed Nov 8 23:11:15 2017 New Revision: 325564 URL: https://svnweb.freebsd.org/changeset/base/325564 Log: Revert r325365 r325365 caused several ports to fail to patch correctly. Revert it for the time being until an exp-run can be completed. Requested by: antoine

svn commit: r326598 - head/sys/modules/dtb/allwinner

2017-12-05 Thread Kyle Evans
Author: kevans Date: Tue Dec 5 22:05:10 2017 New Revision: 326598 URL: https://svnweb.freebsd.org/changeset/base/326598 Log: dtb/allwinner: Restore a83t/BananaPi-M3 DTS after r342822 sinovoip-bpi-m3.dts was disconnected from the build in r324822. Since then, a CCU driver has been added

svn commit: r326595 - head/sys/arm/allwinner

2017-12-05 Thread Kyle Evans
Author: kevans Date: Tue Dec 5 21:40:52 2017 New Revision: 326595 URL: https://svnweb.freebsd.org/changeset/base/326595 Log: a10_gpio: Don't do read/set dance if pin is already configured for output This fixes some regulator issues with a83t/BananaPi-M3; the pin value was getting

svn commit: r326483 - head/usr.bin/grep/tests

2017-12-02 Thread Kyle Evans
Author: kevans Date: Sun Dec 3 02:23:29 2017 New Revision: 326483 URL: https://svnweb.freebsd.org/changeset/base/326483 Log: grep test: Fix copyright notice The copyright notice was erroneously introduced as one from the NetBSD foundation due to it being copied from a file in the NetBSD

Re: svn commit: r326614 - in head: etc/mtree usr.bin usr.bin/sponge usr.bin/tee

2017-12-08 Thread Kyle Evans
it's ATF-specific or not- in that case, at least, the scripts are merely being processed into atf-sh script for when it ends up in /usr/tests. It's probably worth double checking the non-ATF case to make sure -x won't break their expected execution, though. - Kyle Evans

svn commit: r326773 - in head/sys: conf dev/syscon

2017-12-11 Thread Kyle Evans
Author: kevans Date: Mon Dec 11 18:04:04 2017 New Revision: 326773 URL: https://svnweb.freebsd.org/changeset/base/326773 Log: Add generic 'syscon' driver Upstream dts for allwinner will require a syscon driver, since the emac node coming in 4.15 will be using xref to /soc/syscon for

svn commit: r326783 - head/sys/dev/syscon

2017-12-11 Thread Kyle Evans
Author: kevans Date: Mon Dec 11 22:55:51 2017 New Revision: 326783 URL: https://svnweb.freebsd.org/changeset/base/326783 Log: Correct a typo in syscon driver 'modify' logic Not previously caught because the current consumer (not yet in tree) doesn't use the 'modify' bits (yet).

svn commit: r326623 - head/sys/arm/allwinner

2017-12-06 Thread Kyle Evans
Author: kevans Date: Wed Dec 6 14:53:53 2017 New Revision: 326623 URL: https://svnweb.freebsd.org/changeset/base/326623 Log: aw_mp.c: use argument name in macros Rather than relying on 'cluster' existing in the context they're used in, use the argument name. Differential Revision:

Re: svn commit: r333351 - head/usr.bin/grep

2018-05-08 Thread Kyle Evans
On Tue, May 8, 2018 at 3:36 PM, Ronald Klop <ronald-li...@klop.ws> wrote: > On Tue, 08 May 2018 16:49:12 +0200, Alexey Dokuchaev <da...@freebsd.org> > wrote: > >> On Tue, May 08, 2018 at 09:36:21AM -0500, Kyle Evans wrote: >>> >>> On Tue, May 8, 2018 at

svn commit: r333351 - head/usr.bin/grep

2018-05-07 Thread Kyle Evans
Author: kevans Date: Tue May 8 03:53:46 2018 New Revision: 51 URL: https://svnweb.freebsd.org/changeset/base/51 Log: bsdgrep: Allow "-" to be passed to -f to mean "standard input" A version of this patch was originally sent to me by se@, matching behavior from newer versions of

svn commit: r333418 - in head: share/man/man4 share/man/man9 stand/lua sys/arm/allwinner sys/arm/allwinner/clkng sys/dev/extres/syscon usr.bin/grep/tests

2018-05-09 Thread Kyle Evans
4/aw_sid.4Wed May 9 16:44:19 2018 (r333418) @@ -1,6 +1,5 @@ .\"- .\" Copyright (c) 2018 Kyle Evans <kev...@freebsd.org> -.\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are pe

svn commit: r333419 - in head: share/man/man4 share/man/man9 sys/arm/allwinner/clkng usr.bin/grep/tests usr.bin/hexdump/tests

2018-05-09 Thread Kyle Evans
== --- head/share/man/man4/aw_sid.4Wed May 9 16:44:19 2018 (r333418) +++ head/share/man/man4/aw_sid.4Wed May 9 16:52:28 2018 (r333419) @@ -1,4 +1,6 @@ .\"- +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD +.\" .\" Copyright (c)

Re: svn commit: r333351 - head/usr.bin/grep

2018-05-08 Thread Kyle Evans
On Tue, May 8, 2018 at 5:58 AM, Alexey Dokuchaev <da...@freebsd.org> wrote: > On Tue, May 08, 2018 at 03:53:47AM +0000, Kyle Evans wrote: >> New Revision: 51 >> URL: https://svnweb.freebsd.org/changeset/base/51 >> >> Log: >> bsdgrep: Allow "-

svn commit: r333250 - head/sys/dts/arm/overlays

2018-05-04 Thread Kyle Evans
Author: kevans Date: Fri May 4 14:38:48 2018 New Revision: 333250 URL: https://svnweb.freebsd.org/changeset/base/333250 Log: arm: overlays: Update to new path-based sugar format Modified: head/sys/dts/arm/overlays/sun8i-a83t-sid.dtso head/sys/dts/arm/overlays/sun8i-h3-sid.dtso Modified:

Re: svn commit: r334191 - in stable/11/stand: common ofw/libofw sparc64/loader

2018-05-24 Thread Kyle Evans
On Thu, May 24, 2018 at 6:11 PM, Marius Strobl wrote: > Author: marius > Date: Thu May 24 23:11:25 2018 > New Revision: 334191 > URL: https://svnweb.freebsd.org/changeset/base/334191 > > Log: > MFC: r333955 > > - Unbreak booting sparc64 kernels after the metadata

Re: svn commit: r333673 - in stable/11/etc: etc.aarch64 etc.amd64 etc.arm etc.i386 etc.powerpc etc.riscv etc.sparc64

2018-05-18 Thread Kyle Evans
On Fri, May 18, 2018 at 11:26 AM, Warner Losh wrote: > > > On Fri, May 18, 2018 at 8:35 AM, Rodney W. Grimes > wrote: >> >> > On Wed, 16-May-2018 at 13:18:38 +, Warner Losh wrote: >> > > Author: imp >> > > Date: Wed May 16 13:18:37 2018 >> > >

svn commit: r334912 - head/stand/lua

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sun Jun 10 02:36:38 2018 New Revision: 334912 URL: https://svnweb.freebsd.org/changeset/base/334912 Log: lualoader: Support variable substitution in env var settings We support both of the following cases of substitution: bar="y" foo="${bar}" foo="$bar"

svn commit: r334907 - head/stand/lua

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sun Jun 10 01:38:52 2018 New Revision: 334907 URL: https://svnweb.freebsd.org/changeset/base/334907 Log: lualoader: Process loader_conf_files properly loader.conf(5) documents loader_conf_files to mean "additional configuration files to be processed right after the

svn commit: r334879 - head/stand/lua

2018-06-09 Thread Kyle Evans
n 9 14:26:30 2018(r334879) @@ -0,0 +1,94 @@ +.\" +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD +.\" +.\" Copyright (c) 2018 Kyle Evans +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provid

svn commit: r334891 - head/stand/lua

2018-06-09 Thread Kyle Evans
@@ +.\" +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD +.\" +.\" Copyright (c) 2018 Kyle Evans +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met

svn commit: r334878 - head/stand/libsa

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sat Jun 9 14:24:16 2018 New Revision: 334878 URL: https://svnweb.freebsd.org/changeset/base/334878 Log: libsa(3): Correct statement about FS Write-support, name change - jhb implemented UFS write support a little over 16 years ago. - Update the library name while

svn commit: r334882 - in head/stand: common efi/loader i386/libi386 userboot/userboot

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sat Jun 9 15:10:39 2018 New Revision: 334882 URL: https://svnweb.freebsd.org/changeset/base/334882 Log: stand: Consolidate checking for boot flags driven by environment vars e.g. boot_mute, boot_single, boot_verbose, and friends; we checked for these in multiple

  1   2   3   4   5   6   7   8   9   10   >