CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 07:27:06 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): only define OpenDirs_Done if necessary


To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 07:32:07 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): remove unused parameters from DirLookup


To generate a diff of this commit:
cvs rdiff -u -r1.175 -r1.176 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 07:44:16 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): rename parameter of DirLookup

The DirLookup functions work on "name", which may be a complete path,
and on "base" or "cp", which is the basename of the file.  Don't use
"name" for the basename, since that would be confusing.


To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 07:46:05 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): remove unused parameter from DirFindDot


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc64/sparc64

2020-10-25 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Sun Oct 25 07:46:54 UTC 2020

Modified Files:
src/sys/arch/sparc64/sparc64: ofw_patch.c

Log Message:
Don't release the last reference to the "i2c-child-devices" dictionary in
the v210/v240 patches.
Fixes missing i2c devices there (pointed out by macallan@).
While here, add debug to show when we create the dictionary.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sparc64/sparc64/ofw_patch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 07:57:01 UTC 2020

Modified Files:
src/usr.bin/make: arch.c

Log Message:
make(1): make Arch_FindLib simpler


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 src/usr.bin/make/arch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 07:59:09 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): document that the SearchPath of Dir_FindFile may be NULL


To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 08:10:03 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): clean up documentation of DirExpandCurly and Dir_Expand


To generate a diff of this commit:
cvs rdiff -u -r1.179 -r1.180 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2020-10-25 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Oct 25 08:15:54 UTC 2020

Modified Files:
src/sys/net: if_l2tp.c

Log Message:
l2tp: Revert prior

It proves I can't read comments and that if_initialize should not be used.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/net/if_l2tp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2020-10-25 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Oct 25 08:18:39 UTC 2020

Modified Files:
src/sys/net: if_l2tp.c

Log Message:
l2tp: call if_link_state_change rather then directly setting it.

This allows protocols to do their thing.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/net/if_l2tp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/pic

2020-10-25 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Oct 25 08:29:30 UTC 2020

Modified Files:
src/sys/arch/arm/pic: pic.c

Log Message:
KASSERT -> KASSERTMSG


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/arm/pic/pic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Oct 25 08:50:32 UTC 2020

Modified Files:
src/usr.sbin/sysinst: util.c

Log Message:
Mark a variable only used in an assert as __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 08:59:26 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): refactor DirMatchFiles

Split the conditions since the comment only applies to one of them.
Use local variables for common subexpressions.


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 09:03:05 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): document pattern matching edge case in DirMatchFiles


To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/mk

2020-10-25 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Oct 25 09:06:24 UTC 2020

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Switch alpha to USE_XZ_SETS=no, i.e. using gzip for installation sets.

Ok'ed by martin@ in PR/55751.  Maybe worth to pullup to netbsd-9.


To generate a diff of this commit:
cvs rdiff -u -r1.1228 -r1.1229 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 09:10:46 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): clean up documentation of DirExpandInt, rename it

The code in that function is so trivial that there is no point in
writing this much redundant documentation.


To generate a diff of this commit:
cvs rdiff -u -r1.182 -r1.183 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 09:19:10 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): omit trailing space in debug output for expanding file patterns


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 09:30:46 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): clean up DirLookupSubdir and DirLookupAbs

As with cp2, the variable names p1 and p2 are not expressive.


To generate a diff of this commit:
cvs rdiff -u -r1.184 -r1.185 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make/unit-tests

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 09:46:25 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: var-class-local.exp var-class-local.mk

Log Message:
make(1): add test for setting a variable in a GNode context

This edge case is probably not used widely.  The local variables of a
GNode should only ever be the predefined variables.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/var-class-local.exp
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/var-class-local.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 09:51:52 UTC 2020

Modified Files:
src/usr.bin/make: dir.c

Log Message:
make(1): clean up Dir_HasWildcards


To generate a diff of this commit:
cvs rdiff -u -r1.185 -r1.186 src/usr.bin/make/dir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 10:00:20 UTC 2020

Modified Files:
src/usr.bin/make: dir.c dir.h suff.c

Log Message:
make(1): replace Dir_CopyDir with Dir_CopyDirSearchPath

Callback functions for the Lst functions do not belong in the public API
of a module.


To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/usr.bin/make/dir.c
cvs rdiff -u -r1.31 -r1.32 src/usr.bin/make/dir.h
cvs rdiff -u -r1.222 -r1.223 src/usr.bin/make/suff.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 10:07:23 UTC 2020

Modified Files:
src/usr.bin/make: lst.c lst.h make.c

Log Message:
make(1): inline Lst_Copy in Make_ExpandUse


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/usr.bin/make/lst.c
cvs rdiff -u -r1.79 -r1.80 src/usr.bin/make/lst.h
cvs rdiff -u -r1.178 -r1.179 src/usr.bin/make/make.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 12:01:33 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): clean up code for handling .for loops


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 12:08:53 UTC 2020

Modified Files:
src/usr.bin/make: lst.c lst.h parse.c var.c
src/usr.bin/make/unit-tests: include-sub.mk

Log Message:
make(1): rename type Vector to PtrVector

This allows the name Vector to be used for a more generic vector type,
which will be added soon.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/usr.bin/make/lst.c
cvs rdiff -u -r1.80 -r1.81 src/usr.bin/make/lst.h
cvs rdiff -u -r1.398 -r1.399 src/usr.bin/make/parse.c
cvs rdiff -u -r1.583 -r1.584 src/usr.bin/make/var.c
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/include-sub.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 13:06:12 UTC 2020

Modified Files:
src/usr.bin/make: lst.c lst.h parse.c var.c

Log Message:
make(1): replace PtrVector with Vector, which can contain any type


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/usr.bin/make/lst.c
cvs rdiff -u -r1.81 -r1.82 src/usr.bin/make/lst.h
cvs rdiff -u -r1.399 -r1.400 src/usr.bin/make/parse.c
cvs rdiff -u -r1.584 -r1.585 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 13:20:11 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): use Vector instead of strlist_t for expanding .for loops

strlist_t combines a string with an unsigned int.  This unsigned int had
been the string length for variables and the escaping flags for values.
This is another case of using generic types where specific types would
give more guidance to the reader.

Defining the types ForVar and ForItem expresses the involved concepts
more directly.

This is the last use of strlist_t, which will be removed in a follow-up
commit.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 13:25:19 UTC 2020

Modified Files:
src/usr.bin/make: Makefile Makefile.boot
Removed Files:
src/usr.bin/make: strlist.c strlist.h

Log Message:
make(1): remove unused strlist_t


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/usr.bin/make/Makefile
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/make/Makefile.boot
cvs rdiff -u -r1.8 -r0 src/usr.bin/make/strlist.c
cvs rdiff -u -r1.4 -r0 src/usr.bin/make/strlist.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 13:31:16 UTC 2020

Modified Files:
src/usr.bin/make: lst.h

Log Message:
make(1): remove obsolete comment from lst.h


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/usr.bin/make/lst.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 13:45:33 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): extract SubstVarLong from ForIterate


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 13:51:56 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): extract SubstVarShort from ForIterate


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 14:29:13 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): extract GetEscapes from For_Eval


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make/unit-tests

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 14:55:23 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: directive-for.exp directive-for.mk

Log Message:
make(1): add test for escaping parentheses and braces in .for loops


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/directive-for.exp
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/directive-for.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 14:58:23 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): compute escaping flags for .for values when needed

Before, they were computed when parsing the .for line, which was
unnecessarily early.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 15:15:45 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): remove unnecessary type ForVar

Now that the escaping information is computed just-in-time, the item of
a .for loops is a simple string with no additional information.
Therefore, unwrap the struct.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 15:26:19 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): use Words instead of Vector for the .for items

This makes memory management a bit simpler and also more efficient.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 15:41:31 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): reduce memory allocation in .for loops

It was not necessary to allocate a new buffer for each iteration of the
.for loop.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 15:49:03 UTC 2020

Modified Files:
src/usr.bin/make: for.c
src/usr.bin/make/unit-tests: directive-for.exp directive-for.mk

Log Message:
make(1): test funny character in .for variable names


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/usr.bin/make/for.c
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/directive-for.exp
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/directive-for.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2020-10-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Oct 25 15:55:37 UTC 2020

Modified Files:
src/sys/kern: sys_ptrace_common.c

Log Message:
ptrace_Common is a module unto itself.  Don't use the ptrace module's
init/fini routines.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/kern/sys_ptrace_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 15:58:04 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): rename local variable in For_Eval


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 16:14:08 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): extract code to see if a directive is a .for or .endfor


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 16:15:48 UTC 2020

Modified Files:
src/usr.bin/make: for.c
src/usr.bin/make/unit-tests: forloop.exp

Log Message:
make(1): use complete words in error message for .for loop


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/usr.bin/make/for.c
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/forloop.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 16:18:02 UTC 2020

Modified Files:
src/usr.bin/make: for.c

Log Message:
make(1): clean up comments in .for handling


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/usr.bin/make/for.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2020-10-25 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Oct 25 16:39:00 UTC 2020

Modified Files:
src/share/man/man4: acpicpu.4
src/share/man/man4/man4.x86: est.4 powernow.4
src/sys/arch/evbmips/loongson: loongson_clock.c
src/sys/arch/macppc/dev: obio.c
src/sys/arch/x86/acpi: acpi_cpu_md.c
src/sys/arch/x86/x86: est.c powernow.c

Log Message:
Normalize some machine dependent CPU frequenct sysctl variables.

This moves machdep.*.frequency.* to machdep.cpu.frequency.*.

This was proposed on tech-kern some time ago. The intention is to allow
third-party tools such as estd and conky to more easily and reliably
fetch or modify the current CPU frequency without iterating through
various machine-dependent variables to check their presence.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/share/man/man4/acpicpu.4
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/man4.x86/est.4
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/man4.x86/powernow.4
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/loongson/loongson_clock.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/macppc/dev/obio.c
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/x86/acpi/acpi_cpu_md.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x86/x86/est.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/x86/powernow.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2020-10-25 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Oct 25 16:59:28 UTC 2020

Modified Files:
src/distrib/sets/lists/xbase: shl.mi
src/distrib/sets/lists/xcomp: mi shl.mi
src/distrib/sets/lists/xdebug: mi shl.mi
src/external/mit/xorg/lib: Makefile
Removed Files:
src/external/mit/xorg/lib/libglut: Makefile shlib_version

Log Message:
Unhook libglut (MesaGLUT) from the build.

The GL Utility Library was formerly a core part of most OpenGL
distributions.

Originally, this version of libglut was developed as part of Mesa (the
primary OpenGL implementation used in NetBSD) before it was mostly abandoned
and work moved to the freeglut fork. It provides a platform-neutral way of
creating OpenGL contexts, something that many other libraries can also do
today (e.g. SDL, glfw).

All users in pkgsrc have been switched to the freeglut fork and there are no
remaining users of this library in src. If having a GLUT implementation in
base turns out to be particularly useful outside of compatibility with
previous NetBSD versions, we can import freeglut (which, AFAIK, is also
ABI compatible with MesaGLUT).


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/distrib/sets/lists/xbase/shl.mi
cvs rdiff -u -r1.218 -r1.219 src/distrib/sets/lists/xcomp/mi
cvs rdiff -u -r1.53 -r1.54 src/distrib/sets/lists/xcomp/shl.mi
cvs rdiff -u -r1.36 -r1.37 src/distrib/sets/lists/xdebug/mi
cvs rdiff -u -r1.55 -r1.56 src/distrib/sets/lists/xdebug/shl.mi
cvs rdiff -u -r1.51 -r1.52 src/external/mit/xorg/lib/Makefile
cvs rdiff -u -r1.9 -r0 src/external/mit/xorg/lib/libglut/Makefile
cvs rdiff -u -r1.2 -r0 src/external/mit/xorg/lib/libglut/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 17:01:05 UTC 2020

Modified Files:
src/usr.bin/make: hash.c hash.h var.c

Log Message:
make(1): reduce amount of string hashing

In pkgsrc, running "bmake show-all" in pkgtools/pkglint called the hash
function 249130 times before, and only 115502 times after.

Still, a single call to Var_Set hashes the same string 3 times.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.bin/make/hash.c
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/make/hash.h
cvs rdiff -u -r1.585 -r1.586 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 17:12:51 UTC 2020

Modified Files:
src/usr.bin/make: suff.c

Log Message:
make(1): add more details to DEBUG_SRC log


To generate a diff of this commit:
cvs rdiff -u -r1.223 -r1.224 src/usr.bin/make/suff.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Sun Oct 25 17:37:36 UTC 2020

Modified Files:
src/usr.bin/make: main.c
src/usr.bin/make/unit-tests: varmod-match-escape.exp

Log Message:
Skip reading .MAKE.DEPENDFILE if set to
"/dev/null" or anything starting with "no".

Ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223564


To generate a diff of this commit:
cvs rdiff -u -r1.388 -r1.389 src/usr.bin/make/main.c
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/varmod-match-escape.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 17:58:53 UTC 2020

Modified Files:
src/usr.bin/make: hash.c

Log Message:
make(1): clean up RebuildTable for hash tables

The previous code used ++ and -- a lot, it also reused variables a lot
for different purposes.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/make/hash.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 18:03:59 UTC 2020

Modified Files:
src/usr.bin/make: hash.c

Log Message:
make(1): refactor Hash_InitTable

First prepare all the data, then initialize the fields in declaration
order.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/make/hash.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 18:12:35 UTC 2020

Modified Files:
src/usr.bin/make: hash.c

Log Message:
make(1): refactor Hash_DeleteTable


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/usr.bin/make/hash.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 18:37:08 UTC 2020

Modified Files:
src/usr.bin/make: hash.c

Log Message:
make(1): clean up hash table functions


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/usr.bin/make/hash.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 18:40:00 UTC 2020

Modified Files:
src/usr.bin/make: hash.c

Log Message:
make(1): clean up comments in hash.c


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/usr.bin/make/hash.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc64/conf

2020-10-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Oct 25 18:53:12 UTC 2020

Modified Files:
src/sys/arch/sparc64/conf: GENERIC

Log Message:
Temporarily disable NTFS for an internal test.


To generate a diff of this commit:
cvs rdiff -u -r1.230 -r1.231 src/sys/arch/sparc64/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 19:11:31 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): reduce duplicate code in VarFind


To generate a diff of this commit:
cvs rdiff -u -r1.586 -r1.587 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 19:19:07 UTC 2020

Modified Files:
src/usr.bin/make: arch.c dir.c hash.c hash.h main.c targ.c var.c

Log Message:
make(1): rename hash functions to identify the type name

This makes it easier to spot mismatches between the function name and
its first parameter, although the compiler should already catch most of
them.  Except for void pointers.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/usr.bin/make/arch.c
cvs rdiff -u -r1.187 -r1.188 src/usr.bin/make/dir.c
cvs rdiff -u -r1.53 -r1.54 src/usr.bin/make/hash.c
cvs rdiff -u -r1.30 -r1.31 src/usr.bin/make/hash.h
cvs rdiff -u -r1.389 -r1.390 src/usr.bin/make/main.c
cvs rdiff -u -r1.122 -r1.123 src/usr.bin/make/targ.c
cvs rdiff -u -r1.587 -r1.588 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 19:28:44 UTC 2020

Modified Files:
src/usr.bin/make: hash.c

Log Message:
make(1): print hash in debug log with fixed width

This way all the keys are nicely aligned in the debug log.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/usr.bin/make/hash.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 19:57:43 UTC 2020

Modified Files:
src/usr.bin/make: job.c

Log Message:
make(1): clean up API comment in job.c


To generate a diff of this commit:
cvs rdiff -u -r1.277 -r1.278 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 20:09:28 UTC 2020

Modified Files:
src/usr.bin/make: job.c

Log Message:
make(1): inline error message

This saves a variable, and since bmake needs to adhere to C90, this
variable declaration prevents refactoring the code.


To generate a diff of this commit:
cvs rdiff -u -r1.278 -r1.279 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 20:14:09 UTC 2020

Modified Files:
src/usr.bin/make: job.c

Log Message:
make(1): split and invert complex condition in Job_CheckCommands


To generate a diff of this commit:
cvs rdiff -u -r1.279 -r1.280 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 20:15:56 UTC 2020

Modified Files:
src/usr.bin/make: job.c

Log Message:
make(1): reduce indentation in Job_CheckCommands


To generate a diff of this commit:
cvs rdiff -u -r1.280 -r1.281 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 20:19:06 UTC 2020

Modified Files:
src/usr.bin/make: job.c

Log Message:
make(1): invert condition in Job_CheckCommands, reduce indentation


To generate a diff of this commit:
cvs rdiff -u -r1.281 -r1.282 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 20:24:25 UTC 2020

Modified Files:
src/usr.bin/make: job.c

Log Message:
make(1): convert abort reason macros to enum


To generate a diff of this commit:
cvs rdiff -u -r1.282 -r1.283 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 20:29:51 UTC 2020

Modified Files:
src/usr.bin/make: job.c

Log Message:
make(1): convert result of JobStart from macros to enum

Right now the result is not used by any code.


To generate a diff of this commit:
cvs rdiff -u -r1.283 -r1.284 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 20:34:05 UTC 2020

Modified Files:
src/usr.bin/make: job.c

Log Message:
make(1): inline macro STATIC

It was a leftover from the remote code, which was removed on 2006-03-11.


To generate a diff of this commit:
cvs rdiff -u -r1.284 -r1.285 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make/unit-tests

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 21:31:00 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: deptgt-delete_on_error.exp
deptgt-delete_on_error.mk

Log Message:
make(1): add test for deleting targets using .DELETE_ON_ERROR


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/usr.bin/make/unit-tests/deptgt-delete_on_error.exp
cvs rdiff -u -r1.2 -r1.3 \
src/usr.bin/make/unit-tests/deptgt-delete_on_error.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 21:34:52 UTC 2020

Modified Files:
src/usr.bin/make: job.c

Log Message:
make(1): refactor JobDeleteTarget

Splitting the many conditions into separate pieces makes the code more
understandable.


To generate a diff of this commit:
cvs rdiff -u -r1.285 -r1.286 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 21:51:49 UTC 2020

Modified Files:
src/usr.bin/make: dir.c job.c make.c make.h meta.c suff.c targ.c var.c

Log Message:
make(1): add GNode_Path to access the path of a GNode


To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 src/usr.bin/make/dir.c
cvs rdiff -u -r1.286 -r1.287 src/usr.bin/make/job.c
cvs rdiff -u -r1.179 -r1.180 src/usr.bin/make/make.c
cvs rdiff -u -r1.171 -r1.172 src/usr.bin/make/make.h
cvs rdiff -u -r1.130 -r1.131 src/usr.bin/make/meta.c
cvs rdiff -u -r1.224 -r1.225 src/usr.bin/make/suff.c
cvs rdiff -u -r1.123 -r1.124 src/usr.bin/make/targ.c
cvs rdiff -u -r1.588 -r1.589 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make/unit-tests

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 22:04:24 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: sh-dots.exp sh-dots.mk

Log Message:
make(1): add tests for generating the ... command indirectly


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/sh-dots.exp
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/sh-dots.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 22:05:00 UTC 2020

Modified Files:
src/usr.bin/make: job.c

Log Message:
make(1): fix typos in job.c comments


To generate a diff of this commit:
cvs rdiff -u -r1.287 -r1.288 src/usr.bin/make/job.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2020-10-25 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Oct 25 22:13:53 UTC 2020

Modified Files:
src/usr.bin/make: suff.c
src/usr.bin/make/unit-tests: suff-lookup.exp

Log Message:
make(1): properly terminate debug output with newline

Without this, NetBSD's sed adds the missing newline at the end of the
file, while other sed implementations don't do that.


To generate a diff of this commit:
cvs rdiff -u -r1.225 -r1.226 src/usr.bin/make/suff.c
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/suff-lookup.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/lam

2020-10-25 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Oct 26 03:46:57 UTC 2020

Modified Files:
src/usr.bin/lam: lam.1

Log Message:
Fix the second example in lam(1).

(a) revert -r1.8 (changing -s back to -S) as it was wrong;
(b) get rid of the backslash since it doesn't belong.
(c) bump date.

Noted by Robert Elz.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/lam/lam.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/lam

2020-10-25 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Oct 26 03:51:54 UTC 2020

Modified Files:
src/usr.bin/lam: lam.1

Log Message:
Improve previous lam(1) change.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/lam/lam.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/lam

2020-10-25 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Oct 26 04:09:32 UTC 2020

Modified Files:
src/usr.bin/lam: lam.1

Log Message:
Clarify the behavior of -S further in lam(1).

Seems that "lam file1 -S sep file2" does not carry the -S over past
file2, even though you can also write "lam file1 file2 -[sS] sep" to
give a separator string after the last file.

Ride previous date bump.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/lam/lam.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/amiga/conf

2020-10-25 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct 26 06:21:50 UTC 2020

Modified Files:
src/sys/arch/amiga/conf: GENERIC.in

Log Message:
Build in full debug symbols by default.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/sys/arch/amiga/conf/GENERIC.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/amiga/conf

2020-10-25 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Oct 26 06:22:28 UTC 2020

Modified Files:
src/sys/arch/amiga/conf: DRACO GENERIC INSTALL

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.195 -r1.196 src/sys/arch/amiga/conf/DRACO
cvs rdiff -u -r1.330 -r1.331 src/sys/arch/amiga/conf/GENERIC
cvs rdiff -u -r1.136 -r1.137 src/sys/arch/amiga/conf/INSTALL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.