Commit Graph

304906 Commits

Author SHA1 Message Date
andvar 23997cfc64 s/formated/formatted/ in comment and distrib sets descriptions. 2024-02-05 21:20:09 +00:00
christos d440dc2ce5 mention if we are prunning. 2024-02-04 21:42:24 +00:00
andvar 31d79895e7 s/substract/subtract/ in comments. 2024-02-04 20:50:29 +00:00
christos 1d2010b1f3 mention which processing step we are in. 2024-02-04 20:47:25 +00:00
andvar 96c646f762 fix tripple/quadruple "r" letter typos in comments and log messages. 2024-02-04 18:52:35 +00:00
andvar 5f232faffc s/interrrupt/interrupt/ in comment and editline(3) man page. 2024-02-04 18:47:27 +00:00
uwe 641a20f456 getrawpartition(3): reword to clarify return value, use .Pq
"'a' == 0" is, stricly speaking false, and since 'a' is an int, it's
not immediately clear if it's 'a' or 0 that is returned.  Try to
clarify this.
2024-02-04 18:44:54 +00:00
christos 70a4c69411 mark unused argument 2024-02-04 16:19:12 +00:00
rillig 68c43e85ca make: do not evaluate indirect modifiers in parse-only mode
Discovered by sjg.
2024-02-04 10:03:10 +00:00
rillig 86d09a000c make: in parse-only mode, don't evaluate modifiers
Previously, the ':S', ':ts', ':tA' and ':from=to' modifiers were
evaluated in parse-only mode, unnecessarily.  This is only noticeable
when an indirect modifier is evaluated in parse-only mode, which is
another bug that will be fixed in a follow-up commit.
2024-02-04 09:56:24 +00:00
rillig 985de0af40 tests/make: extend test for wrong evaluation in parse-only mode 2024-02-04 09:29:50 +00:00
rillig 4aa832f99f tests/make: indirect modifiers are evaluated in parse-only mode
Found by sjg@.
2024-02-04 08:51:57 +00:00
mrg c58bc303fc note this documents bozohttpd 20240126. 2024-02-04 05:54:20 +00:00
mrg 2026b7285b update my email address. 2024-02-04 05:43:05 +00:00
christos 6e35a94774 PR/57904: Ricardo Branco: Mask file permissions we get from mount_ntfs
-m option
2024-02-04 00:16:59 +00:00
mrg 8f36055f87 bump copyright and version. 2024-02-03 22:40:29 +00:00
christos 9e78e8ed10 add checks for id and mask in the update case (thanks hannken) 2024-02-03 22:39:27 +00:00
tsutsui bf9b560b4a Add entries added to CHANGES in netbsd-10 but missed here. 2024-02-03 21:25:02 +00:00
tsutsui 8e7ae57c77 Note several visible changes pulled up to netbsd-10 branch.
- X.org server on newsmips
- gas(1) fix for MIPS1
- X.org server on vax smg(4)
2024-02-03 21:00:45 +00:00
tsutsui 06fb5b1e2f Move entries pulled up to netbsd-10 from CHANGES to CHANGES.prev. 2024-02-03 20:38:49 +00:00
rillig 139c6401cd lint: warn about short octal escape followed by '8' or '9'
These mistakes is typically found in snprintb format directives but is
probably a typo everywhere else as well.
2024-02-03 20:10:10 +00:00
rillig e6cddd1286 lint: remove excessive empty lines 2024-02-03 19:37:02 +00:00
rillig 095f481327 lint: keep strings in their source representation
This allows further analysis depending on whether individual characters are
escaped as octal, hexadecimal or not at all.
2024-02-03 19:25:16 +00:00
rillig 2b097c752f tests/lint: extend tests for hexadecimal character escapes 2024-02-03 19:18:36 +00:00
jdolecek a1cbbc9c1f fix PIPE_SOCKETPAIR variant of pipe1() to apply correctly the 'flags'
passed when called via pipe2(2), fixing repeatable process hang during
compilation with 'gcc -pipe'

refactor fsocreate() to return the new socket and file pointers,
expect the caller to call fd_affix() once initialization is fully complete

use the new fsocreate() to replace the duplicate open-coded 'flags' handling
in makesocket() used for socketpair(2), and in the PIPE_SOCKETPAIR pipe1()

this also fixes lib/libc/sys/t_pipe2 pipe2_cloexec test to succeed
on PIPE_SOCKETPAIR kernel

fixes PR kern/55690
2024-02-03 19:05:14 +00:00
rillig 29354841ac lint: allow hexadecimal character escapes up to UINT_MAX
Previously, any value larger than INT_MAX was regarded as negative and
thus terminated the loop around get_escaped_char.
2024-02-03 18:58:05 +00:00
christos 9a6382137c need the new args pointer... 2024-02-03 18:45:50 +00:00
christos 7af7a24f1d fix MNT_UPDATE (thanks hannken) 2024-02-03 18:44:43 +00:00
christos 05b1f2f8e3 Provide backwards compatibility (pointed out by hannken) 2024-02-03 17:38:22 +00:00
tsutsui 8733f5a664 Misc cleanup.
- move function declarations after struct declarations and
  before global variables
- sort function declarations per actual implementation
- some KNF

No functional change.
2024-02-03 16:35:10 +00:00
tsutsui 4aebcda2f4 Make local variables static. 2024-02-03 16:21:25 +00:00
tsutsui 67bfee1de9 Misc cleanup.
- move function declarations after struct declarations and
  before global variables
- sort function declarations per actual implementation
- explicitly denote 'static' for static functions
- some KNF

No functional change (though gcc generates different binary).
2024-02-03 16:18:10 +00:00
wiz 8f08eeaa4c sync usage with man page 2024-02-03 15:47:44 +00:00
hannken 4522ab1c02 cd9660_mountroot: must initialize new args "fmask" and "dmask". 2024-02-03 15:26:35 +00:00
uwe 3f484afed1 ofwboot(8): improve formatting 2024-02-03 14:15:51 +00:00
rillig ffb2a8ebeb lint: clean up comments, reduce scope of variables 2024-02-03 12:57:12 +00:00
rillig 661078afe6 lint: remove unused code for converting multibyte character sequences 2024-02-03 10:56:18 +00:00
rillig 6c33a09efd mblen.3: clean up wording and grammar 2024-02-03 10:55:38 +00:00
rillig c1862de9dd lint: allow larger numbers in escapes for wide characters and strings 2024-02-03 10:01:58 +00:00
rillig bc5123edee tests/lint: test octal escapes in character and wide strings 2024-02-03 09:36:14 +00:00
wiz 8deed67be5 Sort options in man page. 2024-02-03 09:17:06 +00:00
sjg 7106e16450 make: state of save_dollars affects what is a parse error
When save_dollars is false it is not a parse error to
encounter $$ rather than \$.
2024-02-03 00:20:23 +00:00
rillig 03951da31e lint: use the locale for interpreting wide character strings 2024-02-02 23:36:01 +00:00
rillig 3454588e0f tests/lint: test UTF-8 mode 2024-02-02 23:30:38 +00:00
christos f2413af6ff PR/57892: Roberto Branco: Print full pathname in error messages 2024-02-02 22:58:26 +00:00
rillig 708a1296c5 tests/lint: add UTF-8 test for string literals 2024-02-02 22:45:48 +00:00
andvar afe323c66f s/maintenace/maintenance/ in command status code description. 2024-02-02 22:43:12 +00:00
andvar 34908c4889 fix various typos in comments. 2024-02-02 22:39:09 +00:00
andvar 947fbafb45 fix typos, mainly s/unsupport/unsupported/ in log messages. 2024-02-02 22:33:42 +00:00
andvar 05417dc40d s/mangement/management/ in comments. 2024-02-02 22:26:58 +00:00