Commit Graph

301107 Commits

Author SHA1 Message Date
rillig 9db90c6e6b tests/indent: add test for lexing of numbers 2023-05-13 13:24:01 +00:00
rillig af5234764a distrib/sets: format tests list 2023-05-13 13:21:35 +00:00
riastradh bf2355496c aarch64: New directories for compat openssl on aarch64.
Hope I got the setlist tags right, not really sure how this works.
2023-05-13 13:04:14 +00:00
riastradh 6abe226d43 libfido2: Needs -Wno-error=pointer-sign on arm. 2023-05-13 13:04:03 +00:00
rin 8cd5eb9a5d aq(4): AQC113-116 support by ryo@ has been pull-up'ed into netbsd-10. 2023-05-13 12:51:28 +00:00
rillig ae2b6a8fde indent: rename struct fields for buffers
No binary change except for assertion line numbers.
2023-05-13 12:31:02 +00:00
andvar 3e36cf7df1 change a typo in sizeof(struct queueue *) to sizeof(nqueue[0])
riastradh recommends using array[0] instead of pointer.
2023-05-13 11:48:19 +00:00
andvar 5b7fbaca05 fix typo in unused definition s/ESA_KDATA_OUEUE_LEFT/ESA_KDATA_QUEUE_LEFT/. 2023-05-13 11:30:27 +00:00
andvar a4d536841f s/requied/required/ in comments (likely grammar should be also improved in the
future).
2023-05-13 11:27:10 +00:00
andvar 7bca8c8e2e fix typos in comments. 2023-05-13 11:19:19 +00:00
riastradh ffc5358d68 libcryptotest: Suppress some warnings.
Detected by clang aarch64 32-bit arm compat library build.
2023-05-13 11:11:39 +00:00
riastradh 57f1bae4e0 compat: Disable relro in 32-bit arm compat.
Not supported by binutils:

ld: warning: -z relro ignored

PR toolchain/57405
2023-05-13 10:56:54 +00:00
riastradh af3f411dce compat: Nix trailing whitespace.
No functional change intended.
2023-05-13 10:56:08 +00:00
riastradh 10af6ae44b dk(4): Need pdk->dk_openlock to read pdk->dk_wedges. 2023-05-13 10:11:36 +00:00
rillig 842f73039b indent: clean up a condition, add comments
No functional change.
2023-05-13 09:40:47 +00:00
rillig ff5c4a3f5c indent: move debugging code to separate file
No functional change.
2023-05-13 09:27:49 +00:00
rillig 38caea9b89 indent: preserve indentation of preprocessor directives 2023-05-13 08:33:39 +00:00
rillig ff059387ed tests/indent: explain, clean up and add some tests 2023-05-13 06:52:48 +00:00
rillig 87b2abcf11 indent: don't try to read from the file '(null)/.indent.pro' 2023-05-13 06:36:33 +00:00
rillig 075e6479a3 indent: rename placeholder symbol for parser stack
No functional change outside debug mode.
2023-05-12 22:38:47 +00:00
rillig 8ba922e8f2 tests/indent: test pushing the placeholder symbol to the parser stack 2023-05-12 22:36:15 +00:00
rillig 1981d21e21 indent: remove code for parsing declarations without semicolon
The statement from the comment that declarations do not need semicolons
is wrong. A possible input that matched this rule is 'void f(void) { int
a }'.
2023-05-12 15:36:02 +00:00
kre 061aa945dd When using -H, make the appearance of the worm head depend upon the body
(more than it did before).
2023-05-12 13:29:41 +00:00
ryoon 87640e2fe9 Fix broken conditional 2023-05-12 11:49:47 +00:00
christos a64becd867 switch vax to OpenSSL-3.x 2023-05-12 11:27:48 +00:00
riastradh 15effa6c57 distrib/sets/lists: Nix trailing whitespace.
No functional change intended.
2023-05-12 11:13:09 +00:00
rillig 4c64236705 indent: sync manual page with recent changes 2023-05-12 11:01:11 +00:00
rillig 0cdf93c9f3 indent: remove statistics
The numbers from the statistics were wrong.
2023-05-12 10:53:33 +00:00
riastradh 350d0ac436 i915: Avoid dereferencing null fence if resv has changed.
PR kern/57402

XXX pullup-10
2023-05-12 10:13:37 +00:00
rillig a92724c2f9 indent: condense code for handling spaced expressions
No functional change outside debug mode.
2023-05-12 08:40:54 +00:00
christos 6e67422f16 Handle OpenSSL-3.x 2023-05-12 02:26:48 +00:00
christos 84495a947b we don't have int128 2023-05-12 02:23:32 +00:00
chs 68dab442d9 ffs: apply the remaining ffs_snapshot.c part of this FreeBSD commit:
commit 364ed814e7285c8216d8a201d3ab3674eb34ce29
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Thu Dec 9 21:24:00 2004 +0000

    Fixes a bug that caused UFS2 filesystems bigger than 2TB to
    prematurely report that they were full and/or to panic the kernel
    with the message ``ffs_clusteralloc: allocated out of group''.

    Submitted by:   Henry Whincup <henry@jot.to>
    MFC after:      1 week

all the other changes in that commit were applied previously by others:
 - sborrill commmitted ffs_alloc.c rev 1.123 in 2009
 - simonb committed ffs_alloc.c rev 1.110 in 2008
 - the ffs_clusteralloc() part is not needed because we no longer have
   that function.

fixes PR 57307
2023-05-11 23:11:25 +00:00
rillig 46afda1643 tests/indent: test interaction between preprocessing and comments 2023-05-11 21:36:31 +00:00
christos 2808d7da00 fix vax, restructure. 2023-05-11 20:08:59 +00:00
rillig 40b8398b3b indent: clean up input buffer handling
No functional change.
2023-05-11 19:14:54 +00:00
rillig d5678748c0 indent: don't touch comments in preprocessing lines
The indentation of multi-line comments was wrong, and the code for
handling them was too complicated.
2023-05-11 19:01:35 +00:00
rillig bacb7fc4b5 tests/indent: add more tests for preprocessing directives 2023-05-11 18:44:14 +00:00
rillig 5300eef1a9 tests/indent: test multi-line comments in preprocessing lines 2023-05-11 18:36:36 +00:00
rillig 12ff360db2 indent: remove unused code 2023-05-11 18:26:56 +00:00
rillig d54ae284ce indent: remove broken code for handling blank lines
This fixes several bugs where blank lines were erroneously added or
removed, treating these old bugs for new bugs in different places.
These new bugs are expected to be easier to fix, as the old bugs will
not interfere anymore.
2023-05-11 18:13:55 +00:00
christos aaf43d9e46 add missing entry for binutils 2023-05-11 18:03:51 +00:00
christos 147b6c818d switch sparc64/aarch64 to OpenSSL-3.x 2023-05-11 17:57:14 +00:00
rillig 3ae5a30b3c indent: add debug output for tracking comments and braces 2023-05-11 17:22:56 +00:00
christos 7ed2aff630 Handle OpenSSL-3.x 2023-05-11 16:18:31 +00:00
christos fcbfaf3da8 fix sparc64 2023-05-11 15:26:13 +00:00
christos dd97656630 changes to get aarch64 to link 2023-05-11 14:36:11 +00:00
christos a09aac5f84 aarch64 needs static 2023-05-11 14:34:30 +00:00
christos 4c4e8cbe77 Add missing path for MKCOMPAT=no from Adam 2023-05-11 11:58:55 +00:00
rillig 30e7a62e8c indent: move parser state variables to the parser_state struct
Include the variables in the debug output.
2023-05-11 11:25:47 +00:00