Commit Graph

282671 Commits

Author SHA1 Message Date
rillig 94119fc036 make(1): rename Arch_MemMTime to Arch_MemberMTime
The abbreviation Mem was ambiguous, it could have meant memory as well.
2020-11-06 23:59:21 +00:00
rillig b3350f600e make(1): rename getBoolean and s2Boolean 2020-11-06 23:11:11 +00:00
rillig c6fda0697c make(1): fix comment of Error 2020-11-06 23:05:20 +00:00
rillig a5d8e822d9 make(1): clean up Cmd_Exec stylistically 2020-11-06 23:04:20 +00:00
rillig c699fce5aa make(1): merge duplicate code for skipping horizontal whitespace 2020-11-06 22:39:10 +00:00
rillig 13f3350e29 make(1): move name of inline functions to the beginning of the line 2020-11-06 22:37:07 +00:00
rillig b790432830 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.
2020-11-06 21:20:31 +00:00
rillig 0a495e5a5e make(1): document DEBUG_LINT 2020-11-06 21:12:19 +00:00
rillig 345b90d029 make(1): sort and renumber debug flags 2020-11-06 21:09:06 +00:00
rillig aed622d743 make(1): fix typo from previous commit 2020-11-06 21:01:43 +00:00
rillig cb04a499e0 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.
2020-11-06 20:59:52 +00:00
rillig 238b0c9726 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.
2020-11-06 20:50:48 +00:00
rillig 5909008f0e make(1): fix indentation in test directive-ifmake 2020-11-06 20:29:35 +00:00
rillig 0413618a39 make(1): document progname 2020-11-06 20:24:08 +00:00
rillig ccc3382b36 make(1): clean up comments in make.h 2020-11-06 20:20:00 +00:00
martin 35097c7d0a Minimize the installer for crunched install media 2020-11-06 19:47:31 +00:00
martin 6d554402a1 Bump ramdisk size slightly 2020-11-06 18:36:20 +00:00
christos 39d08fed26 PR/55789: Ruslan Nikolaev: New rump drivers 2020-11-06 15:35:33 +00:00
christos 99d114a9bf 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.
2020-11-06 14:50:13 +00:00
martin 6948e0f3e4 Fix copy & pasted copyright comments. 2020-11-06 12:23:10 +00:00
rillig 65f155a6c5 make(1): rename local variable in Var_Parse 2020-11-06 00:29:50 +00:00
rillig fa220160d4 make(1): format source code of a few functions in var.c 2020-11-06 00:05:18 +00:00
rillig 6bbc9e2d08 make(1): update and clean up documentation of Var_Parse 2020-11-05 23:52:08 +00:00
rillig 53688f4e09 make(1): fix parameter name in ApplyModifiersIndirect and ApplyModifiers
The variable must be properly initialized before these functions are
called.
2020-11-05 23:24:47 +00:00
rillig b935945dfd 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.
2020-11-05 21:16:20 +00:00
rillig a3933499cd make(1): extract EvalUndefined from ParseVarnameLong 2020-11-05 20:50:13 +00:00
martin 5e2aeb226f Fix typo 2020-11-05 20:03:56 +00:00
christos a71fcfa7e4 Print the program name in error messages. 2020-11-05 19:13:21 +00:00
rillig 75f08f317a make(1): extract FindLocalLegacyVar from Var_Parse 2020-11-05 18:43:55 +00:00
rillig abe541fa3b 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.
2020-11-05 18:26:59 +00:00
rillig 00dcc1c28e make(1): clean up documentation for Var_Subst 2020-11-05 18:20:23 +00:00
rillig f1a0c4ee9e make(1): add test for legacy local variables @F, @D 2020-11-05 18:08:39 +00:00
dholland 93f14ef9c5 +SMR 2020-11-05 18:05:06 +00:00
rillig 143a32671d make(1): remove redundant parentheses from sizeof operator
The parentheses are only needed if the argument is a type, not an
expression.
2020-11-05 17:27:16 +00:00
tsutsui 73d56d5b0b Cherry-pick Xorg version independent changes from xorg-server.
Reorganize CPPFLAGS.
2020-11-05 16:06:41 +00:00
rillig 509b998a12 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.
2020-11-05 15:04:51 +00:00
rin 784d59c702 Add missing NetBSD RCSID. 2020-11-05 13:04:27 +00:00
rin 445cdbe8d7 Fix typo; i.M31 --> i.MX31 2020-11-05 13:04:05 +00:00
rin 9ba37cc66f Build dtb set for aarch64eb. 2020-11-05 13:03:31 +00:00
nia c9c9883d25 Also deny bitmap Lucida, Utopia from being selected through fontconfig. 2020-11-05 12:13:02 +00:00
martin aeba785f6e Remove an unused message (accidently placed inconsistently in
previous)
2020-11-05 11:10:11 +00:00
rillig 5e4ca438e2 make(1): add remark for exit status 0 despite error 2020-11-05 00:41:04 +00:00
rillig b06b754327 make(1): extend documentation for GNodeType constants 2020-11-05 00:40:31 +00:00
nia 8a0fd92fc8 ossaudio(3): Set errno and return -1 rather than returning errno. 2020-11-04 22:59:24 +00:00
christos 2a72b2ad75 PR/55781: Ruslan Nikolaev: rump_init() does differentiate when all CPUs are
initialized
2020-11-04 22:06:38 +00:00
pgoyette 7f78906306 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.
2020-11-04 20:54:20 +00:00
skrll efdf1fd0aa Miscellaneous updates to reflect riscv-privileged-20190608.pdf
Some from zmcgrew@
2020-11-04 20:04:01 +00:00
martin 5f6c9b1187 Add turnstile_print prototype for LOCKDEBUG 2020-11-04 19:27:53 +00:00
pgoyette e78beab44e 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.
2020-11-04 19:27:41 +00:00
pgoyette c8be1c4724 Don't use == for assignment. 2020-11-04 19:16:34 +00:00