284055 Commits

Author SHA1 Message Date
rillig
ba24c12f6a make(1): reduce debugging details in Parse_SetInput
The address of readMoreArg is hardly useful when stepping through this
part of the code, therefore omit it.  Instead of mentioning the exact
function names of the data source, describe them in words, which helps
especially in the case of .for loops.
2020-12-19 13:30:00 +00:00
rillig
8b6f21ea9f make(1): rename ForIterate to ForReadMore 2020-12-19 13:20:17 +00:00
rillig
af7e852811 make(1): rename parameter line to lineno 2020-12-19 13:16:25 +00:00
nia
c1f0400234 ossaudio(3): Do not reuse results from AUDIO_GETBUFINFO in SETINFO
Should help PR 55876.
2020-12-19 12:55:28 +00:00
rillig
4a31d445af make(1): document enum GetLineMode 2020-12-19 12:48:59 +00:00
rillig
959dba2f43 make(1): add test for backslash continuation lines in .for loops
This ensures that the line numbers for messages are the expected onces
in .for loops.

While experimenting with the backslash continuation lines, I noticed
that the reported line numbers for these are based on the number of
completely parsed physical lines, which nicely cancels out the + 1 that
has to be added for producing human-readable 1-based line numbers.  It
would be more correct to report the parse errors on the first affected
line.
2020-12-19 12:40:00 +00:00
rillig
c1c7380a9a make(1): fix line numbers in .for loops (since 2007-01-01) 2020-12-19 12:24:46 +00:00
rillig
e8319c8295 make(1): demonstrate wrong line numbers in .for loops, since 2007-01-01 2020-12-19 12:14:59 +00:00
rillig
44219d1a0a make(1): merge parameter of ParseRawLine into return value 2020-12-19 10:57:17 +00:00
rillig
89c1ddf072 make(1): clean up variable names in ParseGetLine and ParseRawLine 2020-12-19 10:49:36 +00:00
rillig
5ca350977a make(1): fix variable names in UnescapeBackslash
The previous variable names had been chosen at a time when compilers
didn't merge variables into the same registers.  Luckily, these times
are gone, and it's no longer necessary to use a variable for 2 or more
completely unrelated purposes.
2020-12-19 10:18:46 +00:00
skrll
8020d92396 Tweak a comment 2020-12-19 09:02:32 +00:00
rin
ae5bdb2a50 Fix previous; define missing lfs_version. 2020-12-19 08:51:03 +00:00
skrll
44b32f72df Various clean ups
- cache node where possible
 - remove a compiler warning
 - improve a comment (the round_page might not be needed)
2020-12-19 08:09:31 +00:00
rin
eb10415da2 ufs_open(): Check fs->lfs_version ifdef LIBSA_*L*FS, not LIBSA_*F*FS.
This was harmless for FFS variants, that define LIBSA_FFSv[12], not LIBSA_FFS.
2020-12-19 07:19:30 +00:00
thorpej
2682e5ac8e Use sel{record,remove}_knote(). 2020-12-19 01:18:58 +00:00
thorpej
7861a2d7ca malloc(9) -> kmem(9) 2020-12-19 01:12:21 +00:00
rillig
ecc876b838 make(1): clean up ParseRawLine 2020-12-19 00:27:34 +00:00
rillig
0c5e588e71 make(1): extract ParseRawLine from ParseGetLine 2020-12-19 00:20:57 +00:00
rillig
e7a3ec57b0 make(1): clean up another local variable in ParseGetLine 2020-12-19 00:02:34 +00:00
rillig
7b504ab648 make(1): clean up UnescapeBackslash 2020-12-18 23:18:08 +00:00
rillig
419f399f4b make(1): remove unused parameter from UnescapeBackslash 2020-12-18 23:13:45 +00:00
maya
3b87c75504 Merge pkg_install-20201218 2020-12-18 20:07:39 +00:00
rillig
effc4eb938 make(1): split ParseGetLine into separate functions 2020-12-18 19:02:37 +00:00
rillig
94e08101d9 make(1): separate ParseGetLine into paragraphs 2020-12-18 18:23:29 +00:00
rillig
b2ae71012b make(1): support using C99 bool for Boolean 2020-12-18 18:17:45 +00:00
maya
be7e67f290 Merge pkg-install-20201218 2020-12-18 17:32:41 +00:00
maya
b78f5c4f5d import pkg_install version 20201218 from pkgsrc
- Support continuing to install to /var/db/pkg if it exists and the
new pkgdb doesn't.
In the future, we can warn about this once we have tested advice that
we can give to users who want to move the location of pkgdb.

- Don't do anything about /var/db/pkg on non-NetBSD-base.
This creates conflicts with other package managers that also install to
/var/db/pkg.
2020-12-18 17:19:16 +00:00
rillig
6e84975ccd make(1): spell nonexistent consistently 2020-12-18 15:47:34 +00:00
martin
e5d53595d6 While we are inside ddb, allow all memory access. 2020-12-18 15:33:34 +00:00
rillig
d80c99b6f3 make(1): use symbolic time for 0 in Make_Recheck
This makes the test depsrc-optional independent from the current time
zone.
2020-12-18 14:46:44 +00:00
rillig
6e3f82b272 make(1): constify Targ_FmtTime 2020-12-18 14:36:46 +00:00
skrll
9f2165ec4a Make this compile on arm 2020-12-18 07:40:27 +00:00
skrll
7b4484abe8 Add a comment 2020-12-18 07:37:21 +00:00
skrll
14c999d6ce Make EFI_RUNTIME compile on arm 2020-12-18 07:34:31 +00:00
skrll
c1ca2ff599 KNF 2020-12-18 07:21:58 +00:00
thorpej
69ed6f1cd6 Use sel{record,remove}_knote(). 2020-12-18 02:54:34 +00:00
thorpej
821978d378 Use sel{record,remove}_knote(). 2020-12-18 02:41:35 +00:00
pgoyette
52df486e11 Minor typo - do I really need to bump the date for this? :) 2020-12-18 02:29:50 +00:00
thorpej
03d3394d5e Use sel{record,remove}_knote(). 2020-12-18 01:54:22 +00:00
thorpej
954344f4d3 Use sel{remove,record}_knote(). 2020-12-18 01:46:39 +00:00
thorpej
1abee2b4f1 Use sel{record,remove}_knote(). 2020-12-18 01:31:49 +00:00
thorpej
176dee2997 Update information about thorpej-futex. 2020-12-18 01:08:13 +00:00
mrg
927dbcf0e7 remove unused and #if 0'd since introduced in 1996 struct kvm_cpustate.
sparc kvm was handled differently for the sun4m port.
2020-12-18 00:45:52 +00:00
skrll
094ec0db65 No need for PMAP_WRITE_BACK here (also aa32 pmap doesn't know about it) 2020-12-17 08:47:18 +00:00
taca
8202121906 Change second gc.interval_min to gc.interval_max.
Obviously, second gc.interval_min should be gc.interval_max.

Should be pulled up to netbnsd-9.
2020-12-17 05:33:06 +00:00
christos
a5a15771d1 interupt -> interrupt 2020-12-16 19:49:04 +00:00
rin
ab208996b3 -O0 hack was reintroduced to jemalloc/rtree.c for GCC9 on alpha. 2020-12-16 01:35:39 +00:00
rin
258e420cd1 For alpha, apply -O0 hack again to rtree.c for GCC9.
Otherwise, GDB11 crashes in strange ways.
2020-12-16 01:21:32 +00:00
rin
33bbc93266 Correct and extend comments on VA for alpha. No binary changes. 2020-12-16 01:20:19 +00:00