Taylor R Campbell writes:
>> Date: Sat, 26 Mar 2022 16:53:19 +0100
>> From: Roland Illig
>>
>> The term "null-terminated string" is quite common when talking about C.
>> In contrast, the word "nul" in "nul-terminated" always reminds me of
>> the character abbreviation in ASCII, which has a n
Module Name:src
Committed By: gutteridge
Date: Sun Mar 27 00:32:15 UTC 2022
Modified Files:
src/lib/libc/gen: popen.3
Log Message:
popen.3: revert s/null-/nul-/ change, this is subject to debate
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/g
Module Name:src
Committed By: gutteridge
Date: Sun Mar 27 00:32:15 UTC 2022
Modified Files:
src/lib/libc/gen: popen.3
Log Message:
popen.3: revert s/null-/nul-/ change, this is subject to debate
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/g
Module Name:src
Committed By: riastradh
Date: Sat Mar 26 19:38:00 UTC 2022
Modified Files:
src/sys/arch/mips/cavium: octeon_intr.c
Log Message:
mips/cavium: Simplify membars around interrupt establishment.
Previously I used xc_barrier to ensure the initialization of the
s
Module Name:src
Committed By: riastradh
Date: Sat Mar 26 19:38:00 UTC 2022
Modified Files:
src/sys/arch/mips/cavium: octeon_intr.c
Log Message:
mips/cavium: Simplify membars around interrupt establishment.
Previously I used xc_barrier to ensure the initialization of the
s
Module Name:src
Committed By: riastradh
Date: Sat Mar 26 19:35:57 UTC 2022
Modified Files:
src/sys/dev/ic: igpio.c
Log Message:
igpio(4): Use device_xname, not struct device members.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/igpio.c
Plea
Module Name:src
Committed By: riastradh
Date: Sat Mar 26 19:35:57 UTC 2022
Modified Files:
src/sys/dev/ic: igpio.c
Log Message:
igpio(4): Use device_xname, not struct device members.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/igpio.c
Plea
Module Name:src
Committed By: riastradh
Date: Sat Mar 26 19:35:35 UTC 2022
Modified Files:
src/sys/dev/ic: igpio.c igpioreg.h
Log Message:
igpio(4): Nix trailing whitespace.
(setq show-trailing-whitespace t), M-x delete-trailing-whitespace
To generate a diff of this com
Module Name:src
Committed By: riastradh
Date: Sat Mar 26 19:35:35 UTC 2022
Modified Files:
src/sys/dev/ic: igpio.c igpioreg.h
Log Message:
igpio(4): Nix trailing whitespace.
(setq show-trailing-whitespace t), M-x delete-trailing-whitespace
To generate a diff of this com
> On Mar 26, 2022, at 9:39 AM, Taylor R Campbell
> wrote:
>
> `C string' is ambiguous because there are also char arrays that
> function as strings but which are not guaranteed to be NUL-terminated,
> as strncpy is intended for.
A non-terminated char array is not a C-string. The term C-strin
Module Name:src
Committed By: andvar
Date: Sat Mar 26 17:15:18 UTC 2022
Modified Files:
src/sys/arch/amiga/dev: grfabs_cc.c
Log Message:
s/logial/logical/
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/amiga/dev/grfabs_cc.c
Please note that d
Module Name:src
Committed By: andvar
Date: Sat Mar 26 17:15:18 UTC 2022
Modified Files:
src/sys/arch/amiga/dev: grfabs_cc.c
Log Message:
s/logial/logical/
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/amiga/dev/grfabs_cc.c
Please note that d
Module Name:src
Committed By: christos
Date: Sat Mar 26 17:11:20 UTC 2022
Modified Files:
src/distrib/sparc/miniroot: Makefile.inc
Log Message:
grow (for llvm)
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/distrib/sparc/miniroot/Makefile.inc
Please n
Module Name:src
Committed By: christos
Date: Sat Mar 26 17:11:20 UTC 2022
Modified Files:
src/distrib/sparc/miniroot: Makefile.inc
Log Message:
grow (for llvm)
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/distrib/sparc/miniroot/Makefile.inc
Please n
> On Mar 26, 2022, at 9:09 AM, Warner Losh wrote:
>
> Since all the 'C' standards[*] use "null-terminated" and "null character",
> it's likely best to use that terminology because there is a source of truth
> for its definition in case of ambiguity or doubt.
Ah, but you're giving up the oppo
Module Name:src
Committed By: christos
Date: Sat Mar 26 17:09:53 UTC 2022
Modified Files:
src/distrib/sandpoint/ramdisk: Makefile
Log Message:
grow
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/distrib/sandpoint/ramdisk/Makefile
Please note that diff
Module Name:src
Committed By: christos
Date: Sat Mar 26 17:09:53 UTC 2022
Modified Files:
src/distrib/sandpoint/ramdisk: Makefile
Log Message:
grow
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/distrib/sandpoint/ramdisk/Makefile
Please note that diff
Am 26.03.2022 um 17:09 schrieb Warner Losh:
[*] I've not gone the extra mile and checked to see if K&R used this
phrase, to be honest.
It does. The book from 1978 says in its tutorial section:
> getline puts the character \0 (the null character, whose value
> is zero) at the end of the array
On Sat, Mar 26, 2022 at 9:53 AM Roland Illig wrote:
> Am 24.03.2022 um 02:55 schrieb David H. Gutteridge:
> > Module Name: src
> > Committed By: gutteridge
> > Date: Thu Mar 24 01:55:15 UTC 2022
> >
> > Modified Files:
> > src/lib/libc/gen: popen.3
> >
> > Log Message:
> > popen.3:
> Date: Sat, 26 Mar 2022 16:53:19 +0100
> From: Roland Illig
>
> The term "null-terminated string" is quite common when talking about C.
> In contrast, the word "nul" in "nul-terminated" always reminds me of
> the character abbreviation in ASCII, which has a narrower scope than C.
> I prefer
Module Name:src
Committed By: martin
Date: Sat Mar 26 16:22:50 UTC 2022
Modified Files:
src/tests/lib/libc/sys: t_ptrace_core_wait.h
Log Message:
Add sparc* to the list of architectures that need an explicit address
with PT_CONTINUE in this test.
To generate a diff of th
Module Name:src
Committed By: martin
Date: Sat Mar 26 16:22:50 UTC 2022
Modified Files:
src/tests/lib/libc/sys: t_ptrace_core_wait.h
Log Message:
Add sparc* to the list of architectures that need an explicit address
with PT_CONTINUE in this test.
To generate a diff of th
> On Mar 26, 2022, at 9:17 AM, Martin Husemann wrote:
> When talking about it I prefer "zero terminated", or C-string, in
> contrast to C++ std::string (which are objects) or Pascal strings
> (which have an explicit length at the beginning).
Yes, I also prefer the term “C-string"
-- thorpej
On Sat, Mar 26, 2022 at 04:53:19PM +0100, Roland Illig wrote:
> The term "null-terminated string" is quite common when talking about C.
NULL terminated lists/array are quite common, but NULL is a pointer and
the string is terminated by a 0 char (sometimes spelled as \0 in a string
literal, but imp
Module Name:src
Committed By: uwe
Date: Sat Mar 26 16:03:02 UTC 2022
Modified Files:
src/lib/libcurses: newwin.c
Log Message:
__makenew: use calloc to get zeroed memory for window contents.
PR lib/56767.
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/
Module Name:src
Committed By: uwe
Date: Sat Mar 26 16:03:02 UTC 2022
Modified Files:
src/lib/libcurses: newwin.c
Log Message:
__makenew: use calloc to get zeroed memory for window contents.
PR lib/56767.
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/
Am 24.03.2022 um 02:55 schrieb David H. Gutteridge:
Module Name:src
Committed By: gutteridge
Date: Thu Mar 24 01:55:15 UTC 2022
Modified Files:
src/lib/libc/gen: popen.3
Log Message:
popen.3: minor spelling, grammar, style, and xref tweaks
To generate a diff of this co
Module Name:src
Committed By: sjg
Date: Sat Mar 26 15:39:58 UTC 2022
Modified Files:
src/usr.bin/make: make.1
Log Message:
Mention 'make -r' with .POSIX
To generate a diff of this commit:
cvs rdiff -u -r1.306 -r1.307 src/usr.bin/make/make.1
Please note that diffs are no
Module Name:src
Committed By: sjg
Date: Sat Mar 26 15:39:58 UTC 2022
Modified Files:
src/usr.bin/make: make.1
Log Message:
Mention 'make -r' with .POSIX
To generate a diff of this commit:
cvs rdiff -u -r1.306 -r1.307 src/usr.bin/make/make.1
Please note that diffs are no
Module Name:src
Committed By: rillig
Date: Sat Mar 26 14:34:07 UTC 2022
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: directive.exp opt-debug-graph1.exp
opt-debug-graph2.exp opt-debug-graph3.exp opt-debug-var.exp
suff-m
Module Name:src
Committed By: rillig
Date: Sat Mar 26 14:34:07 UTC 2022
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: directive.exp opt-debug-graph1.exp
opt-debug-graph2.exp opt-debug-graph3.exp opt-debug-var.exp
suff-m
Module Name:src
Committed By: rillig
Date: Sat Mar 26 14:17:47 UTC 2022
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: deptgt-makeflags.exp
directive-unexport-env.exp vardebug.exp varmod-defined.exp
varname-dot-shell.exp
Module Name:src
Committed By: rillig
Date: Sat Mar 26 14:17:47 UTC 2022
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: deptgt-makeflags.exp
directive-unexport-env.exp vardebug.exp varmod-defined.exp
varname-dot-shell.exp
Module Name:src
Committed By: rillig
Date: Sat Mar 26 14:02:40 UTC 2022
Modified Files:
src/usr.bin/make: make.h trace.c var.c
Log Message:
make: prefer 'long long' over 'long' on 32-bit C99 platforms
When sorting the words of an expression numerically using the modifier
Module Name:src
Committed By: rillig
Date: Sat Mar 26 14:02:40 UTC 2022
Modified Files:
src/usr.bin/make: make.h trace.c var.c
Log Message:
make: prefer 'long long' over 'long' on 32-bit C99 platforms
When sorting the words of an expression numerically using the modifier
Module Name:src
Committed By: martin
Date: Sat Mar 26 13:41:16 UTC 2022
Modified Files:
src/sys/dev/cardbus: cardbus.c
Log Message:
When reading CIS tuples from a BAR, do not blindly copy 2k of data (or
to the end of the BAR space), but instead follow the tuples and stop
r
Module Name:src
Committed By: martin
Date: Sat Mar 26 13:41:16 UTC 2022
Modified Files:
src/sys/dev/cardbus: cardbus.c
Log Message:
When reading CIS tuples from a BAR, do not blindly copy 2k of data (or
to the end of the BAR space), but instead follow the tuples and stop
r
Module Name:src
Committed By: rillig
Date: Sat Mar 26 13:32:32 UTC 2022
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: opt-env.exp opt-env.mk opt-file.mk
Log Message:
make: clean up comments
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: rillig
Date: Sat Mar 26 13:32:32 UTC 2022
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: opt-env.exp opt-env.mk opt-file.mk
Log Message:
make: clean up comments
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: rillig
Date: Sat Mar 26 12:44:57 UTC 2022
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: Makefile directive-undef.mk
Log Message:
make: fix crash on .undef of an environment variable (since 2020-10-06)
To genera
Module Name:src
Committed By: rillig
Date: Sat Mar 26 12:44:57 UTC 2022
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: Makefile directive-undef.mk
Log Message:
make: fix crash on .undef of an environment variable (since 2020-10-06)
To genera
In article <977b81a4-d330-6722-7ce4-cc4e61011...@gmx.de>,
Roland Illig wrote:
>Am 25.03.2022 um 22:25 schrieb Christos Zoulas:
>> In article <20220325183551.0f039f...@cvs.netbsd.org>,
>> Roland Illig wrote:
>>> -=-=-=-=-=-
>>>
>>> Module Name:src
>>> Committed By: rillig
>>> Date:
42 matches
Mail list logo