Commit Graph

282525 Commits

Author SHA1 Message Date
nia
f0eecf651f ossaudio(3): Return device playback and capture capabilities in GETCAPS 2020-11-03 09:36:12 +00:00
nia
54df53aac3 ossaudio(3): More capability defines from OSSv4 2020-11-03 09:33:53 +00:00
mlelstv
36ee44d680 Continue parsing frames after empty payload.
Add diagnostic messages.
2020-11-03 09:26:41 +00:00
skrll
0b77a9f798 Fix build on aa64 2020-11-03 08:41:30 +00:00
skrll
22966387c0 The ARM C Language Extenstion document defines __ARCH_ARM as the integer
macro indicating the current ARM instruction set.  Let's use it.

PR/55778: evbarm64 GENERIC64 kernel fails to build with clang

XXX Handle the fact that for an ARM architecture ARMvX.Y then,
XXX __ARM_ARCH= X * 100 + Y. E.g. for ARMv8.1 __ARM_ARCH = 801.
2020-11-03 08:34:17 +00:00
nia
7a66cf0ffc ossaudio(3): return correctly initialized return value in unlikely
error case. pointed out by tnn.
2020-11-03 08:24:33 +00:00
rillig
0d60dc067d make(1): document test for parsing of variable assignments 2020-11-02 22:59:48 +00:00
christos
358fc34e52 From wajap at github:
- eat whitespace in infnan checks
- set fval to 0 if we are not a floating point number
2020-11-02 22:58:51 +00:00
rillig
3ef5b1ede1 make(1): fix undefined behavior in Parse_IsVar
Even though the pointer was out-of-bounds, a crash was unlikely in
practice, since typical C compilers don't check the pointers for invalid
values after each modification.  The memory it pointed to was not
accessed though.
2020-11-02 22:50:55 +00:00
rillig
662cb994c0 make(1): fix line numbers in test output of varname.mk 2020-11-02 22:46:52 +00:00
rillig
3f600bbee8 make(1): document undefined behavior in Parse_IsVar
Sigh.  If only C could be compiled in strict mode that detects these
out-of-bounds memory accesses.
2020-11-02 22:44:29 +00:00
rillig
4b61bc4789 make(1): fix test for parsing obscure variable names
I had forgotten the :U modifier.  Without that modifier, there's no
chance that the variable names would come out correctly.
2020-11-02 22:29:48 +00:00
rillig
18305c7a81 make(1): add tests for parsing ob obscure variable names 2020-11-02 22:16:24 +00:00
rillig
12e48a64c0 make(1): remove obsolete POSTPROC.varname from unit tests
It was not needed anymore since 2020-10-18.
2020-11-02 21:53:28 +00:00
rillig
0b15b1d9eb make(1): fix error handling on parse errors in variable expressions
This change doesn't change any of the unit tests since the error
handling code is not yet complete, see the many "handle errors" in the
code.  Nevertheless, the "out_FALSE_res = VPR_PARSE_MSG" was wrong since
the error message was only printed in lint mode, not in default mode.
2020-11-02 21:34:40 +00:00
rillig
b4bc4f4041 make(1): improve local variable name in ParseVarname 2020-11-02 21:24:23 +00:00
rillig
a948288bbf make(1): document that skipping a modifier on parse errors is risky 2020-11-02 21:15:00 +00:00
rillig
07a98669b2 make(1): clean up CompatDeleteTarget and CompatInterrupt 2020-11-02 20:50:24 +00:00
rillig
d0a7e917ea make(1): error out on unclosed expressions after the colon 2020-11-02 20:48:36 +00:00
rillig
2d4a31316a make(1): add test for parse errors in commands in lint mode (-dL)
The difference to non-lint mode is that the exit status is now 2 instead
of 0.
2020-11-02 20:43:27 +00:00
rillig
a167407e80 make(1): remove debugging code from sync-mi 2020-11-02 20:40:10 +00:00
rillig
70eb58e5c3 make(1): add test for unclosed variable after a colon 2020-11-02 20:37:50 +00:00
rillig
1d4c05cdbb make(1): add test for parse errors in shell commands, compat mode 2020-11-02 20:20:42 +00:00
rillig
a758ae2cb7 make(1): handle errors when sync-mi fails because of a syntax error 2020-11-02 20:19:33 +00:00
rillig
bce24e830b remove extraneous tab, sort entries alphabetically (by fmt-list) 2020-11-02 20:16:26 +00:00
rillig
628f696d97 when formatting a file list, exit on errors
This is needed to regenerate distrib/sets/lists/tests/mi for adding
another test in usr.bin/make.
2020-11-02 20:14:01 +00:00
rillig
77e23359af make(1): remove word "Ptr" from variable names
Whether or not a variable is a pointer is obvious from the context.
Since the introduction of function prototypes in C90, this information
is checked by the compiler and no longer needs to be encoded in the
variable names.
2020-11-02 19:07:09 +00:00
christos
0881e80663 PR/55777: Ruslan Nikolaev: use MIN() from <sys/param.h> instead of min() 2020-11-02 18:58:06 +00:00
christos
a7bda7d7ba regen 2020-11-02 18:56:15 +00:00
christos
f55c25a824 PR/55777: Ruslan Nikolaev: Make clock_getcpuclockid2 accessible from rump 2020-11-02 18:55:12 +00:00
rillig
3dadee6b02 make(1): use freeIt pattern in Arch_ParseArchive
This makes the memory management more obvious than before, where the
status of the variable libName depended on subLibName.
2020-11-02 18:24:42 +00:00
rillig
a2844a43b6 make(1): fix wording of a comment in var.c
The "why again" could be easily misunderstood, it was ambiguous.
2020-11-02 18:15:12 +00:00
rillig
6ef9687775 make(1): add a comment where to fix the STOP/STORE test from varmod.mk 2020-11-02 17:55:26 +00:00
rillig
d63a8b84ac make(1): add test for the :P modifier, which does not fall back 2020-11-02 17:30:22 +00:00
rillig
d6d469076d make(1): format code in ApplyModifiersIndirect and ApplyModifiers 2020-11-02 17:00:33 +00:00
rillig
85f3dc47f0 make(1): merge variables p and nested_p in ApplyModifiersIndirect
When the code was still in ApplyModifiers, the variable nested_p was
necessary to distinguish the parsing position in the nested modifier
from the parsing position of the main expression.
2020-11-02 16:55:18 +00:00
rillig
27fc6febc6 make(1): rename rval to mods in ApplyModifiersIndirect 2020-11-02 16:48:49 +00:00
rillig
2698af257a make(1): inline and rename variables in ApplyModifiersIndirect 2020-11-02 16:38:47 +00:00
roy
b9f024beb1 bridge: revert prior
It's of little use.
If we need to do this in the future, consider a sysctl to do it for all
interfaces in the bridge and not just the one being added.
2020-11-02 12:14:59 +00:00
knakahara
b84348e857 Workaround for ihphy and atphy(ICH*/PCH*, 82580 and I350).
These phys stop DMA while link is down which causes device timeout.
Fix PR/kern 40981

Reviewed and tested by msaitoh@n.o, thanks.

XXX pullup-[89]
2020-11-02 09:21:50 +00:00
skrll
78689e4e66 Add SATP_MODE values 2020-11-02 08:37:59 +00:00
skrll
11ac086b25 Whitespace 2020-11-02 08:36:54 +00:00
uwe
dedde0dc29 Use \*q to refer to ascii quote to save fontlock from confusion. 2020-11-02 07:03:48 +00:00
khorben
4e356941bc PR/55747: Tobias Nygren: Install manpages for pam-u2f
I have generated the manual pages and referenced them into the sets.
It would probably help to add a Makefile rule, indicating how to
generate the manual pages again.

Tested with "build.sh release" on amd64.

Reviewed by Tobias Nygren before the commit.
2020-11-02 06:40:11 +00:00
mrg
fe57d61999 ensure PLATFORM_HAS_EGL and ENABLE_EGL are set consistently. 2020-11-02 06:25:24 +00:00
mrg
4bb3cafea8 adjust for libepoxy 1.5.4. 2020-11-02 04:48:54 +00:00
mrg
d7e8667f16 add missing files (one from me, one from someone else :-) 2020-11-02 00:29:49 +00:00
mrg
335b7a1bb8 transform @xkb_base@ instead of __xkb_base__ now.
should fix build issues reported on -current.
2020-11-02 00:25:46 +00:00
rillig
3f4c8dcae8 make(1): extract ApplyModifiersIndirect from ApplyModifiers 2020-11-01 23:17:40 +00:00
rillig
cc537f1f99 make(1): rename local variable in ApplyModifiers 2020-11-01 22:48:41 +00:00