Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (2h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-10 00:49:54 UTC Now

2020-11-08 21:56:48 UTC MAIN commitmail json YAML

sqlite: do not build without multithreading support

at least a few pkgsrc packages avoid base sqlite because it fails
this check, and it's probably a surprising performance penalty for
unsuspecting users

(nia)

2020-11-08 21:47:59 UTC MAIN commitmail json YAML

2020-11-08 21:40:13 UTC MAIN commitmail json YAML

make(1): add test for function argument with unbalanced braces

(rillig)

2020-11-08 21:33:05 UTC MAIN commitmail json YAML

make(1): document what the directive ".if A&B" means

(rillig)

2020-11-08 21:10:18 UTC MAIN commitmail json YAML

make(1): clean up FuncExists

(rillig)

2020-11-08 20:29:13 UTC MAIN commitmail json YAML

make(1): add test demonstrating the :D modifier with := assignments

(rillig)

2020-11-08 19:53:11 UTC MAIN commitmail json YAML

make(1): clean up code related to VarEvalFlags

Mention VARE_WANTRES before VARE_UNDEFERR since the latter depends on
the former.

In ApplyModifier_Assign, VARE_KEEP_DOLLAR doesn't have to be removed
from eflags since ParseModifierPart does this already.

In EvalUndefined, testing for VARE_WANTRES is redundant if VARE_UNDEFERR
is already set.

(rillig)

2020-11-08 19:24:19 UTC MAIN commitmail json YAML

make(1): clean up VarEvalFlags in the calls to Var_Parse and Var_Subst

There are only 3 flags, and some combinations don't even make sense.

VARE_UNDEFERR only makes sense if combined with VARE_WANTRES.  If the
latter is not set, the variable expressions are only parsed, without
asking whether they are defined or not.  Therefore, VARE_UNDEFERR cannot
have any effect in that case.

VARE_KEEP_DOLLAR is actively ignored by ParseModifierPart.  In cases
where VARE_WANTRES is not set, this means that VARE_NONE can be passed,
which is easier to grasp than any bitset operations.  This also gets rid
of a few type casts from enum to unsigned int that were necessary to
pass WARNS=6.

(rillig)

2020-11-08 18:27:14 UTC MAIN commitmail json YAML

make(1): rename local variable in VarSubstNested

(rillig)

2020-11-08 18:16:55 UTC MAIN commitmail json YAML

make(1): reorder branches in Var_Subst

This way, '$$' is handled first, followed by '$', followed by everything
else.  This is easier to follow than first '$$' then not '$' and finally
'$'.

(rillig)

2020-11-08 18:13:01 UTC MAIN commitmail json YAML

make(1): extract VarSubstNested from Var_Subst

Each of these functions now fits on a moderately large screen.

(rillig)

2020-11-08 18:05:32 UTC MAIN commitmail json YAML

make(1): add test demonstrating how ':=' and ':@var@' interact

(rillig)

2020-11-08 17:37:30 UTC MAIN commitmail json YAML

catman(8) is a past thing

(kamil)

2020-11-08 16:58:34 UTC MAIN commitmail json YAML

make(1): rename VARE_ASSIGN to VARE_KEEP_DOLLAR

The other flags in VarEvalFlags already describe their effects, not the
place where they are used.  It's more important to know the effect.

Only a single unit test had to be adjusted.  This probably means that
there are too few tests where the special effects of VARE_KEEP_DOLLAR
come into play.  It could also mean that the effects are so simple and
obvious that they don't need any debug log, but that's not the case.

(rillig)

2020-11-08 16:47:59 UTC MAIN commitmail json YAML

Move the html9/psref* files from comp-sys-catman to comp-sys-htmlman

(kamil)

2020-11-08 16:44:47 UTC MAIN commitmail json YAML

2020-11-08 15:57:01 UTC MAIN commitmail json YAML

grep 3.5 is out for a while.

(wiz)

2020-11-08 15:19:18 UTC MAIN commitmail json YAML

Stop mentioning the support for cat pages

(kamil)

2020-11-08 15:18:09 UTC MAIN commitmail json YAML

make(1): fix documentation of preserveUndefined

Since it is a global variable and not a VarEvalFlags, it affects nested
subexpressions as well, and there is no way to escape it.

(rillig)

2020-11-08 15:07:37 UTC MAIN commitmail json YAML

2020-11-08 14:55:26 UTC MAIN commitmail json YAML

Remove the MKCATPAGES remnants

(kamil)

2020-11-08 14:52:36 UTC MAIN commitmail json YAML

Remove the support for MKCATPAGES

It was optional since 1999 and disabled by default since 2012.

Proposed on tech-userlevel@.

(kamil)

2020-11-08 14:50:24 UTC MAIN commitmail json YAML

make(1): reformat main.c more closely to share/misc/style

(rillig)

2020-11-08 14:19:15 UTC MAIN commitmail json YAML

make(1): remove redundant comment from main_ReadFiles

The code has become so simple that it made the comment redundant.

(rillig)

2020-11-08 14:16:59 UTC MAIN commitmail json YAML

Ignore PNP0001 (EISA interrupt controller) and PNP0C02 (motherboard
resources) when enumerating devices.

(jmcneill)

2020-11-08 14:00:52 UTC MAIN commitmail json YAML

make(1): fix bug description of using := with undefined variable

In 1993, the variable names could not refer to other variables yet.
This has been made possible on 2000-05-11, when the "cool magic" was
added that allows assigning to VAR.${param}.

(rillig)

2020-11-08 13:46:16 UTC MAIN commitmail json YAML

make(1): add test for edge case in resolving undefined variables

(rillig)

2020-11-08 13:10:30 UTC MAIN commitmail json YAML

make(1): rename init_machine to InitVarMachine

For consistency with the other Init functions.

(rillig)

2020-11-08 13:05:03 UTC MAIN commitmail json YAML

make(1): move usage further to the top

This avoids a forward declaration.

(rillig)

2020-11-08 12:50:58 UTC MAIN commitmail json YAML

make(1): move documentation from main to the phase functions

(rillig)

2020-11-08 12:40:04 UTC MAIN commitmail json YAML

make(1): split main into manageable pieces

The purpose of a main function is to give a high-level overview about the
whole program.  270 lines of code with lots of tricky details did not serve this
purpose.  Split the code into functions corresponding to the phases.

(rillig)

2020-11-08 12:21:28 UTC MAIN commitmail json YAML

make(1): indent main consistently

(rillig)

2020-11-08 12:14:14 UTC MAIN commitmail json YAML

make(1): inline ReadMakefileSucceeded into ReadFirstDefaultMakefile

This gets rid of a few void pointers and an unused function parameter.

(rillig)

2020-11-08 12:02:16 UTC MAIN commitmail json YAML

make(1): inline Lst_ForEachUntil in ReadBuiltinRules

The list of expanded filenames for sys.mk is freed in the end, but not
the filenames themselves, as these are still needed.

(rillig)

2020-11-08 11:57:49 UTC MAIN commitmail json YAML

make(1): document inefficient cache lookup in DirMatchFiles

(rillig)

2020-11-08 11:37:46 UTC MAIN commitmail json YAML

make(1): clean up Make_ExpandUse

The targets need to be copied to the 'examine' queue, not because the
targets list would be modified but because the queue is modified and the
targets list should not be affected by that.

(rillig)

2020-11-08 11:28:44 UTC MAIN commitmail json YAML

make(1): fix type of have_token in MakeStartJobs

(rillig)

2020-11-08 11:25:27 UTC MAIN commitmail json YAML

make(1): inline MakeCheckOrder into IsWaitingForOrder

This gets rid of a few void pointers and an unnecessary and unused
function parameter.

The variable name "bn" may have meant "before", but that was not
obvious.  The new name "ogn" nicely matches the ".ORDER" in the debug
message.

(rillig)

2020-11-08 11:05:58 UTC MAIN commitmail json YAML

make(1): inline MakeAddChild into ExamineLater

This gets rid of a few void pointers and unspecific variable names like
"l" for the list that should have rather been called "examine" all the
time.

Add quotes around placeholders in debug messages.  Especially for targets
like "all" the message had been syntactically misleading.

(rillig)

2020-11-08 10:50:50 UTC MAIN commitmail json YAML

make(1): inline MakeFindChild into PretendAllChildrenAreMade

This gets rid of a few void pointers and some function calls.  The
documentation of MakeFindChild essentially repeated what the code does,
and the redundant parts of it have been removed.

(rillig)

2020-11-08 10:40:07 UTC MAIN commitmail json YAML

make(1): extract PretendAllChildrenAreMade from Make_ExpandUse

(rillig)

2020-11-08 10:33:47 UTC MAIN commitmail json YAML

make(1): fix debug output in out-of-date for cohorts (since 2003-11-14)

Before, a wrong cause for being out-of-date was printed in the debug log,
for optional cohorts.  This was caused by having the same conditions
duplicated in the code, instead of putting them in a separate function.

Now the optional cohort is correctly identified as using the '::'
dependency operator.

(rillig)

2020-11-08 10:17:55 UTC MAIN commitmail json YAML

2020-11-08 10:08:28 UTC MAIN commitmail json YAML

2020-11-08 09:48:52 UTC MAIN commitmail json YAML

make(1): extract condition from GNode_IsOODate into separate function

(rillig)

2020-11-08 09:34:55 UTC MAIN commitmail json YAML

make(1): change return type of Dir_MTime to void

Only some callers actually needed the updated time, and because of the
many branches, it was difficult to see that the return value was indeed
gn->mtime all the time.

(rillig)

2020-11-08 09:15:19 UTC MAIN commitmail json YAML

make(1): change return type of Arch_MTime to void

This makes it easier to prove that Dir_MTime always returns gn->mtime,
without looking at the implementation of Arch_UpdateMTime.

(rillig)

2020-11-08 09:06:23 UTC MAIN commitmail json YAML

make(1): change return type of Arch_MemberMTime to void

This makes it easier to prove that Dir_MTime always returns gn->mtime,
without looking at the implementation of Arch_UpdateMemberMTime.

(rillig)

2020-11-08 08:55:25 UTC MAIN commitmail json YAML

make(1): clean up comments in Make_Recheck

(rillig)

2020-11-08 08:54:50 UTC MAIN commitmail json YAML

PR 55338: re-enable threxec test for more test coverage.

(martin)

2020-11-08 08:53:22 UTC MAIN commitmail json YAML

2020-11-08 08:40:01 UTC netbsd-9 commitmail json YAML

2020-11-08 08:39:13 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #1127):

sys/compat/linux/common/linux_socket.c: revision 1.151

Fix compat with Linux programs that use longer namelen for sockets

Linux is less strict than NetBSD and permits namelen to be larger
than valid struct sockaddr_in*.  If this is the case, truncate the value
to the correct size, so that NetBSD networking does not return an error.

Reviewed by kamil

(martin)

2020-11-08 08:33:07 UTC MAIN commitmail json YAML

make(1): rename Make_OODate to GNode_IsOODate

It doesn't matter which of the make modules is in charge of determining
whether a node is out-of-date.  Therefore, remove the module name from
the function name.

(rillig)

2020-11-08 08:26:22 UTC MAIN commitmail json YAML

make(1): rename Make_TimeStamp to GNode_UpdateYoungestChild

(rillig)

2020-11-08 08:12:17 UTC MAIN commitmail json YAML

2020-11-08 08:11:15 UTC MAIN commitmail json YAML

Remove unnecessary local labels

(skrll)

2020-11-08 08:07:43 UTC MAIN commitmail json YAML

Use correct instruction to load address of exception_userexit into RA

(skrll)

2020-11-08 07:30:09 UTC MAIN commitmail json YAML

Fix typo; s/__LP64/_LP64/

(rin)

2020-11-08 02:56:43 UTC MAIN commitmail json YAML

make(1): split ReadMakefiles into separate functions

This keeps the indentation of the code small.

It also reduces the possible confusion about the two similar branches in
that function that differ in a small but important detail:
ReadAllMakefiles reads all the makefiles while ReadFirstDefaultMakefile
stops after the first existing makefile.

(rillig)

2020-11-08 02:37:22 UTC MAIN commitmail json YAML

make(1): inline strncmp in Parse_IsVar

The usual compilers don't do this themselves.

(rillig)

2020-11-08 02:33:18 UTC MAIN commitmail json YAML

make(1): add newly added test to file list

(rillig)

2020-11-08 02:31:24 UTC MAIN commitmail json YAML

2020-11-08 02:05:34 UTC MAIN commitmail json YAML

make(1): fix unrealistic memory leak in Main_ParseArgLine

It's unlikely that anyone ever defines an environment variable named
".MAKE" and then runs make with the -e option, which would make the
environment variable stronger than the built-in global variable.

(rillig)

2020-11-08 01:56:54 UTC MAIN commitmail json YAML

make(1): add remarks for missing command line options in MAKEFLAGS

(rillig)

2020-11-08 01:52:24 UTC MAIN commitmail json YAML

make(1): parse the internal option -J strictly

(rillig)

2020-11-08 01:43:58 UTC MAIN commitmail json YAML

make(1): merge duplicate code in is_relpath

(rillig)

2020-11-08 01:40:01 UTC MAIN commitmail json YAML

make(1): clean up overview comment in main.c

(rillig)

2020-11-08 01:39:24 UTC MAIN commitmail json YAML

make(1): fix type mismatch between int and PrintVarsMode

(rillig)

2020-11-08 01:29:26 UTC MAIN commitmail json YAML

make(1): rename list node to ln

That's the name that is used for list nodes outside lst.c, and there is
no reason to use a different name in the implementation of lists.  Sure,
the "l" of the name "ln" is redundant, but it's still shorter than
"node", and the latter sounds too similar to GNode.

(rillig)

2020-11-08 01:16:04 UTC MAIN commitmail json YAML

make(1): remove unused JOB_IGNDOTS

It had been used in 1993 at least, don't know when it was finally
removed.

(rillig)

2020-11-08 01:12:46 UTC MAIN commitmail json YAML

syslogd: in die(), don't call die() again recursively.

Particularly not for something as immaterial as close failing.

PR 55795

(dholland)

2020-11-08 01:07:00 UTC MAIN commitmail json YAML

make(1): format source code in JobStart and JobDoOutput

(rillig)

2020-11-08 01:00:25 UTC MAIN commitmail json YAML

make(1): fix indentation in JobExec

(rillig)

2020-11-08 00:54:06 UTC MAIN commitmail json YAML

make(1): clean up debug output for running jobs

There is no remote anymore, therefore mentioning locally is redundant.
It was a bad idea anyway to build format strings that work with parts of
words.

(rillig)

2020-11-08 00:28:52 UTC MAIN commitmail json YAML

make(1): rename Src.children to numChildren

There are several other types that have a field named 'children' that is
a list.  To avoid confusion, rename this one to differentiate them.

(rillig)

2020-11-08 00:26:06 UTC MAIN commitmail json YAML

make(1): clean up local variable names in suffix handling

The file suff.c defines both Src and Suff, which makes the variable name
s ambiguous.

The word 'target' is ambiguous as well since it could mean a GNode or the
target suffix of a transformation.  Therefore, make the variable names
longer but more precise.

The comment about the nil return and the beanhead had been outdated
already in 1993.  There is no nil return anywhere nearby.  The longer
variable names make the rest of the comment redundant.

(rillig)

2020-11-07 23:41:39 UTC MAIN commitmail json YAML

make(1): replace strstr in ParseMaybeSubMake with optimized code

This code is called for each command that is parsed.  Calling strstr with
4 strings that all start with the same character is unnecessary work.
Therefore, replace strstr with manually optimized code.  Neither GCC
5.5.0 nor GCC 10 inlines strncmp like this, otherwise I would have used
that.

Change in behavior: previously, a${MAKE}b would not be considered to be a
sub-make command, which is probably correct but does not occur in
practice.  The check for non-alphanumeric characters around the found
string was probably meant only for the plain word "make".

(rillig)

2020-11-07 23:25:06 UTC MAIN commitmail json YAML

2020-11-07 22:29:58 UTC MAIN commitmail json YAML

make(1): clean up spacing in fallback implementation of vsnprintf

(rillig)

2020-11-07 22:28:24 UTC MAIN commitmail json YAML

make(1): fix type mismatch between int and VarExportFlags

(rillig)

2020-11-07 22:26:42 UTC MAIN commitmail json YAML

make(1): remove redundant empty lines from parse.c

(rillig)

2020-11-07 22:25:20 UTC MAIN commitmail json YAML

make(1): clean up parse.c

The generated code stays exactly the same.  The only changes will be the
line numbers of assertions.  To preserve them, the removed lines have
been filled up with comments and will be removed in the follow-up commit.

(rillig)

2020-11-07 21:42:32 UTC MAIN commitmail json YAML

2020-11-07 21:40:08 UTC MAIN commitmail json YAML

make(1): remove trailing whitespace

(rillig)

2020-11-07 21:31:08 UTC MAIN commitmail json YAML

make(1): fix type mismatch between int and VarSetFlags

(rillig)

2020-11-07 21:26:44 UTC MAIN commitmail json YAML

make(1): fix inconsistent indentation after #ifdef

Combining #ifdef with regular if-then-else calls for trouble.

(rillig)

2020-11-07 21:24:33 UTC MAIN commitmail json YAML

make(1): fix type of Job.suspended

(rillig)

2020-11-07 21:22:37 UTC MAIN commitmail json YAML

make(1): clean up Make_OODate and Make_Run

(rillig)

2020-11-07 21:20:46 UTC MAIN commitmail json YAML

add minimal 'configure' script that finds the versions, and
doesn't end up with an empty version in the .pc file.

pointed out by Michael Scholz in private email.

(mrg)

2020-11-07 21:04:44 UTC MAIN commitmail json YAML

make(1): clean up Buf_AddEscaped in .for loops

All this dance of determining the needed escape characters before
iterating, saving them upfront, evaluating them later using complicated
boolean expressions was not necessary at all.  All that is needed is a
simple NeedsEscapes, called at just the right time.

(rillig)

2020-11-07 20:45:21 UTC MAIN commitmail json YAML

make(1): use proper enum constant instead of 0 for CachedStatsFlags

(rillig)

2020-11-07 20:39:56 UTC MAIN commitmail json YAML

make(1): clean up CondParser_Comparison

(rillig)

2020-11-07 20:35:04 UTC MAIN commitmail json YAML

make(1): reword condition in CondParser_String

The parentheses were confusing for human readers.

The compiler doesn't really care about the wording of the condition, GCC
5 on amd64 generates non-obvious but nice code anyway, replacing the
logical or with a logical and.

(rillig)

2020-11-07 20:14:15 UTC MAIN commitmail json YAML

make(1): fix type mismatch between Boolean and Token

Even though the C boolean and Token are encoded the same, the code should
still distinguish them, for the benefit of human readers.

(rillig)

2020-11-07 20:11:32 UTC MAIN commitmail json YAML

make(1): fix type mismatch in If_Eval

No practical consequences since TOK_FALSE == 0 and TOK_TRUE == 1.

(rillig)

2020-11-07 20:03:56 UTC MAIN commitmail json YAML

make(1): clean up JobStart

Initialize the fields in declaration order.
Initialize Job.flags in a single assignment.

(rillig)

2020-11-07 20:01:17 UTC MAIN commitmail json YAML

2020-11-07 18:12:16 UTC MAIN commitmail json YAML

libepoxy: Only require egl on ports with egl support.

Reported by martin.

(nia)

2020-11-07 17:46:57 UTC MAIN commitmail json YAML

make the buffer fit any 32 bit number.

(christos)

2020-11-07 16:16:33 UTC MAIN commitmail json YAML

PR/55794: Jan Schaumann: Eliminate unchecked malloc

(christos)

2020-11-07 14:48:46 UTC MAIN commitmail json YAML

Use lower case for hex constants

(skrll)

2020-11-07 14:40:51 UTC MAIN commitmail json YAML

2020-11-07 14:37:31 UTC MAIN commitmail json YAML

2020-11-07 14:32:13 UTC MAIN commitmail json YAML

make(1): clean up Compat_Make

(rillig)

2020-11-07 14:27:16 UTC MAIN commitmail json YAML

make(1): clean up Compat_RunCommand

(rillig)

2020-11-07 14:18:26 UTC MAIN commitmail json YAML

make(1): replace switch with if-else chain in Compat_RunCommand

(rillig)

2020-11-07 14:11:58 UTC MAIN commitmail json YAML

make(1): make API of Buf_Init simpler

In most cases, the caller doesn't want to specify the exact number of
preallocated bytes.

(rillig)

2020-11-07 14:04:49 UTC MAIN commitmail json YAML

make(1): clean up Arch_LibOODate

(rillig)

2020-11-07 13:53:13 UTC MAIN commitmail json YAML

make(1): fix indentation in JobPrintCommand

(rillig)

2020-11-07 13:43:39 UTC MAIN commitmail json YAML

make(1): document duplicate code in arch.c

(rillig)

2020-11-07 13:39:41 UTC MAIN commitmail json YAML

make(1): fix function names in archive debug output

(rillig)

2020-11-07 13:34:46 UTC MAIN commitmail json YAML

make(1): fix out-of-bounds pointer in ArchStatMember (since 1993-03-21)

(rillig)

2020-11-07 13:29:38 UTC MAIN commitmail json YAML

make(1): reduce indentation in ArchStatMember

(rillig)

2020-11-07 13:24:06 UTC MAIN commitmail json YAML

make(1): replace hashed with cached in comments

The hash table is just an implementation detail, not worth to be
mentioned in comments.

(rillig)

2020-11-07 13:21:57 UTC MAIN commitmail json YAML

make(1): fix access to undefined memory (since 1994-03-18)

This bug was added in arch.c 1.6, "Do extended-name archives".

(rillig)

2020-11-07 13:17:04 UTC MAIN commitmail json YAML

make(1): clean up ArchStatMember

Whether an archive entry is hashed or not is completely irrelevant.  The
interesting thing is whether it ends up in a cache.

(rillig)

2020-11-07 13:13:19 UTC MAIN commitmail json YAML

make(1): document the relation between VARE_ASSIGN and preserveUndefined

(rillig)

2020-11-07 13:09:13 UTC MAIN commitmail json YAML

make(1): properly handle errors for malformed archive target names

Error messages don't belong on stdout.

(rillig)

2020-11-07 13:03:58 UTC MAIN commitmail json YAML

make(1): rename local variable in Arch_ParseArchive

(rillig)

2020-11-07 12:58:55 UTC MAIN commitmail json YAML

make(1): rename parameter of ArchSVR4Entry

It cannot be made a const string, so rather document it clearly that the
string is modified.

(rillig)

2020-11-07 12:54:44 UTC MAIN commitmail json YAML

make(1): remove unused macro definitions from arch.c

These definitions have originally been added in arch.c 1.27 on
1998-05-21.  Even back then they had been unused, at least they had not
been used directly.  Since macros are expanded at their use site, there
could have been an indirect use, but that is not the case anymore.

(rillig)

2020-11-07 12:47:16 UTC MAIN commitmail json YAML

make(1): fix archive handling

It's no wonder that nobody is using the archive handling of make.  The
archives created by GNU binutils cannot be processed using make since the
format of the archive names has changed.  GNU binutils appends a slash to
the member names.  Support that format from now on.

Add more debugging output in ArchFindMember.  Since nobody uses this part
of make, it doesn't hurt that the debug output is now very verbose.

In Arch_Touch and Arch_TouchLib, move the snprintf to where it belongs.
There's no point modifying a local variable just to throw it away
afterwards.

(rillig)

2020-11-07 12:34:49 UTC MAIN commitmail json YAML

make(1): extract ArchiveMember_HasName from ArchFindMember

Comparing a string to a space-padded string is complicated enough to be
extracted to a separate function.

The behavior changes a little bit.  Before, when searching for an archive
member with a short name (one that is space-padded in the archive), that
member was not searched using the AR_EFMT1 archive format.  This doesn't
matter in practice though since no regular archive member has a name
starting with "#1/".

(rillig)

2020-11-07 11:36:49 UTC MAIN commitmail json YAML

make(1): clean up comments in arch.c

(rillig)

2020-11-07 10:48:17 UTC MAIN commitmail json YAML

2020-11-07 10:47:35 UTC MAIN commitmail json YAML

Indent and annotate FP registers much like the general registers

(skrll)

2020-11-07 10:44:53 UTC MAIN commitmail json YAML

2020-11-07 10:43:47 UTC MAIN commitmail json YAML

Note if a register is Caller / Callee saved

(skrll)

2020-11-07 10:25:28 UTC MAIN commitmail json YAML

make(1): document InitDefSysIncPath

(rillig)

2020-11-07 10:23:20 UTC MAIN commitmail json YAML

make(1): omit redundant bitwise or in Compat_Make

(rillig)

2020-11-07 10:16:19 UTC MAIN commitmail json YAML

make(1): clean up code stylistically

* Replace character literal 0 with '\0'.
* Replace pointer literal 0 with NULL.
* Remove redundant parentheses.
* Parentheses in multi-line conditions are not redundant at the
  beginning of a line.
* Replace a few !ptr with ptr == NULL.
* Replace a few ptr with ptr != NULL.
* Replace (expr & mask) == 0 with !(expr & mask).
* Remove redundant braces for blocks in cases where the generated code
  stays the same.  (Assertions further down in the code would get
  different line numbers.)
* Rename parameters in CondParser_String to reflect the data flow.
* Replace #ifdef notdef with #if 0.

The generated code stays exactly the same, at least with GCC 5.5.0 on
NetBSD 8.0 amd64 using the default configuration.

(rillig)

2020-11-07 08:48:11 UTC MAIN commitmail json YAML

Fix the use of the contiguous bit by checking the output address as well.

(skrll)

2020-11-07 08:33:50 UTC MAIN commitmail json YAML

In pmap_devmap_bootstrap only set pmap_devmap_bootstrap_done if there
is an entry and ALL of the entries have been done.  The entry required
for EARLYCONS might not be the first/only one...

(skrll)

2020-11-07 08:28:15 UTC MAIN commitmail json YAML

Print the devmap we're using in the debug output

(skrll)

2020-11-07 00:07:03 UTC MAIN commitmail json YAML

2020-11-07 00:06:13 UTC MAIN commitmail json YAML

make(1): rename Var_Set_with_flags to Var_SetWithFlags

Now that the function is exported from the var module, it should stick
to the naming conventions for public functions.

(rillig)

2020-11-07 00:02:54 UTC MAIN commitmail json YAML

make(1): rename VarSet_Flags to VarSetFlags

Most other types don't have an underscore as well.

(rillig)

2020-11-06 23:59:22 UTC MAIN commitmail json YAML

make(1): rename Arch_MemMTime to Arch_MemberMTime

The abbreviation Mem was ambiguous, it could have meant memory as well.

(rillig)

2020-11-06 23:11:11 UTC MAIN commitmail json YAML

2020-11-06 23:05:20 UTC MAIN commitmail json YAML

make(1): fix comment of Error

(rillig)

2020-11-06 23:04:20 UTC MAIN commitmail json YAML

make(1): clean up Cmd_Exec stylistically

(rillig)

2020-11-06 22:39:10 UTC MAIN commitmail json YAML

make(1): merge duplicate code for skipping horizontal whitespace

(rillig)

2020-11-06 22:37:07 UTC MAIN commitmail json YAML

make(1): move name of inline functions to the beginning of the line

(rillig)

2020-11-06 21:20:31 UTC MAIN commitmail json YAML

make(1): rename dieQuietly to shouldDieQuietly

It was too confusing to have a function named die that doesn't actually
die.  Plus, the return type int didn't give any clue about what the
function actually returns.

(rillig)

2020-11-06 21:12:20 UTC MAIN commitmail json YAML

make(1): document DEBUG_LINT

(rillig)

2020-11-06 21:09:06 UTC MAIN commitmail json YAML

make(1): sort and renumber debug flags

(rillig)

2020-11-06 21:01:43 UTC MAIN commitmail json YAML

make(1): fix typo from previous commit

(rillig)

2020-11-06 20:59:52 UTC MAIN commitmail json YAML

make(1): fix wrong condition in mkTempFile (since 2020-10-31)

The wrong negation had been added in main.c 1.414 from 2020-10-31.
Found by GCC 10, which complained about a potential null pointer
dereference in line 2188.

(rillig)

2020-11-06 20:50:49 UTC MAIN commitmail json YAML

make(1): fix tests directive-ifmake and varcmd with custom boolean

When make is compiled with -DUSE_UCHAR_BOOLEAN, these tests failed.
Merge duplicate code and don't depend on the actual value of TRUE when
evaluating conditions.

(rillig)

2020-11-06 20:29:35 UTC MAIN commitmail json YAML

make(1): fix indentation in test directive-ifmake

(rillig)

2020-11-06 20:24:08 UTC MAIN commitmail json YAML

make(1): document progname

(rillig)

2020-11-06 20:20:00 UTC MAIN commitmail json YAML

make(1): clean up comments in make.h

(rillig)

2020-11-06 19:47:31 UTC MAIN commitmail json YAML

Minimize the installer for crunched install media

(martin)

2020-11-06 18:36:35 UTC MAIN commitmail json YAML

Bump ramdisk size slightly

(martin)

2020-11-06 18:36:20 UTC MAIN commitmail json YAML

Bump ramdisk size slightly

(martin)

2020-11-06 15:35:33 UTC MAIN commitmail json YAML

2020-11-06 14:50:13 UTC MAIN commitmail json YAML

PR/55777: Ruslan Nikolaev: Move the unp_sysctl_create to uipc_usrreq.c to
facilitate splitting rump modules and does not require a dummy function.

(christos)

2020-11-06 12:23:10 UTC MAIN commitmail json YAML

2020-11-06 00:29:50 UTC MAIN commitmail json YAML

make(1): rename local variable in Var_Parse

(rillig)

2020-11-06 00:05:18 UTC MAIN commitmail json YAML

make(1): format source code of a few functions in var.c

(rillig)

2020-11-05 23:52:08 UTC MAIN commitmail json YAML

make(1): update and clean up documentation of Var_Parse

(rillig)

2020-11-05 23:24:48 UTC MAIN commitmail json YAML

make(1): fix parameter name in ApplyModifiersIndirect and ApplyModifiers

The variable must be properly initialized before these functions are
called.

(rillig)

2020-11-05 21:16:21 UTC MAIN commitmail json YAML

make(1): clean up ParseVarnameLong

A parameter named pp is usually used as the parsing position, which is
updated upon successful return.  Not so in ParseVarnameLong, where it
was updated in the unsuccessful branch only.

To avoid confusion, rename it to out_FALSE_pp, which is a longer name
but expresses more clearly what actually happens.

(rillig)

2020-11-05 20:50:14 UTC MAIN commitmail json YAML

make(1): extract EvalUndefined from ParseVarnameLong

(rillig)

2020-11-05 20:03:56 UTC MAIN commitmail json YAML

2020-11-05 19:13:21 UTC MAIN commitmail json YAML

Print the program name in error messages.

(christos)

2020-11-05 18:43:56 UTC MAIN commitmail json YAML

make(1): extract FindLocalLegacyVar from Var_Parse

(rillig)

2020-11-05 18:26:59 UTC MAIN commitmail json YAML

make(1): replace '(' and ')' with neutral '\0' in Var_Parse

The only possible values for extramodifiers are "H:" and "T:", therefore
parsing is independent of startc and endc.  Use '\0' instead of '(' and
')' to remove any possible confusion about how '{' and '}' would be
handled.

(rillig)

2020-11-05 18:20:23 UTC MAIN commitmail json YAML

make(1): clean up documentation for Var_Subst

(rillig)

2020-11-05 18:08:39 UTC MAIN commitmail json YAML

2020-11-05 18:05:06 UTC MAIN commitmail json YAML

2020-11-05 17:27:16 UTC MAIN commitmail json YAML

2020-11-05 16:06:41 UTC MAIN commitmail json YAML

Cherry-pick Xorg version independent changes from xorg-server.

Reorganize CPPFLAGS.

(tsutsui)

2020-11-05 16:06:08 UTC MAIN commitmail json YAML

Cherry-pick Xorg version independent changes from xorg-server.

Normalize #include paths.
Call LogInit() for logging to /var/log/X68k.%s.log as Xorg and Xsun servers.
Fix a suspicious chunk disabled on xfree 4.x migration as sunKbd.c does.
Restore video mode properly on exit even on CRT Mode 19 (640x480 31kHz VGA).
Add ModeDef for 640x480x4bit PseudoColor.
Avoid a use of __UNVOLATILE(3).
Remove unnecessary pointer casts from malloc(3).
Use exact-width interger types properly for register accesses etc.

(tsutsui)

2020-11-05 15:04:51 UTC MAIN commitmail json YAML

make(1): remove wrong comment from Var_Subst

The error handling in variable expressions is inconsistent.  Some errors
are detected, most aren't.  In particular, the error message for
undefined variables is _not_ issued on undefined variables but instead
on parse errors.

(rillig)

2020-11-05 13:04:27 UTC MAIN commitmail json YAML

2020-11-05 13:04:05 UTC MAIN commitmail json YAML

Fix typo; i.M31 --> i.MX31

(rin)

2020-11-05 13:03:31 UTC MAIN commitmail json YAML

Build dtb set for aarch64eb.

(rin)

2020-11-05 12:13:02 UTC MAIN commitmail json YAML

Also deny bitmap Lucida, Utopia from being selected through fontconfig.

(nia)

2020-11-05 11:10:11 UTC MAIN commitmail json YAML

2020-11-05 08:11:37 UTC netbsd-9 commitmail json YAML

2020-11-05 08:10:21 UTC netbsd-9 commitmail json YAML

Pull up the following revisions(s) (requested by martin in ticket #1121):
usr.sbin/sysinst/menus.mi: revision 1.22-1.23
usr.sbin/sysinst/msg.mi.de: revision 1.25-1.26
usr.sbin/sysinst/msg.mi.en: revision 1.33-1.34
usr.sbin/sysinst/msg.mi.pl: revision 1.33-1.34
usr.sbin/sysinst/msg.mi.es: revision 1.27-1.28
usr.sbin/sysinst/msg.mi.fr: revision 1.32-1.33
usr.sbin/sysinst/util.c: revision 1.49-1.52

- When looking for available CD media, skip those that are already mounted.
- When no medium with sets is found, show a new error message and return
  to the source selection menu.
- Rearrange all source option menus to have the proper set suffix available
  (either .tgz or .tar.xz).
- Relax an assertion, the first getvfsstat() call may overestimate the file
  systems visible to us. Fixes PR 55752
- When we did not magically find any CD medium with sets, offer a manual
  override (so ISO images on USB sticks or Xen's xbd(4) work).

(sborrill)

2020-11-05 00:41:04 UTC MAIN commitmail json YAML

make(1): add remark for exit status 0 despite error

(rillig)

2020-11-05 00:40:31 UTC MAIN commitmail json YAML

make(1): extend documentation for GNodeType constants

(rillig)

2020-11-04 22:59:24 UTC MAIN commitmail json YAML

ossaudio(3): Set errno and return -1 rather than returning errno.

(nia)

2020-11-04 22:46:20 UTC MAIN commitmail json YAML

2020-11-04 22:06:39 UTC MAIN commitmail json YAML

PR/55781: Ruslan Nikolaev: rump_init() does differentiate when all CPUs are
initialized

(christos)

2020-11-04 20:54:20 UTC MAIN commitmail json YAML

Use opt_execfmt.h to get build options.

Only include elf32 hooks if we have elf32 defined and elf32 is not the
"native" emulation.  This allows for having compat_netbsd32 without
elf32 (although it's probably not too useful), and also enables arm's
old-ABI usage of compat_netbsd32.

(pgoyette)

2020-11-04 20:05:47 UTC MAIN commitmail json YAML

2020-11-04 20:04:01 UTC MAIN commitmail json YAML

Miscellaneous updates to reflect riscv-privileged-20190608.pdf

Some from zmcgrew@

(skrll)

2020-11-04 19:27:53 UTC MAIN commitmail json YAML

Add turnstile_print prototype for LOCKDEBUG

(martin)

2020-11-04 19:27:41 UTC MAIN commitmail json YAML

Merge the two separate sets of init/fini routines and unbreak the build.

XXX Still does not fix the problems noted with 32-bit arm - that will
need a lot more thought.

(pgoyette)

2020-11-04 19:16:34 UTC MAIN commitmail json YAML

Don't use == for assignment.

(pgoyette)

2020-11-04 19:11:39 UTC MAIN commitmail json YAML

mark pamu2fcfg(1) as pam so MKPAM=no sets work

(mrg)

2020-11-04 19:03:17 UTC MAIN commitmail json YAML

For consistency with other code, put the module init/fini code into
separate routines called from module's modcmd() code, rather than
in-lining in the modcmd.

(pgoyette)

2020-11-04 18:32:12 UTC MAIN commitmail json YAML

Remove extraneous declaration of ptrace_common_{init,fini}()

(pgoyette)

2020-11-04 18:12:19 UTC MAIN commitmail json YAML

Finish the proper naming of the module init/fini routines.  Should
fix the "ptrace cannot be used by unpriv user" issue reported by
Rin Okuyama (thanks for the detailed report and analysis).

(pgoyette)

2020-11-04 17:16:13 UTC MAIN commitmail json YAML

2020-11-04 16:26:35 UTC MAIN commitmail json YAML