On Tue, May 14, 2024 at 01:32:25 +, David H. Gutteridge wrote:
> Log Message:
> echo.1: borrow advice about printf(1) from the OpenBSD man page
Unfortunately that advice is not true without further caveats.
netbsd$ sh -c "printf '-V\n'"
-V
$ busybox sh -c "printf '-V\n'"
-V
ubuntu$ $ dash
Module Name:src
Committed By: uwe
Date: Tue May 14 10:22:48 UTC 2024
Modified Files:
src/lib/libcurses: curses.h curses_input.3 getch.c
Log Message:
curse: constify define_key() argument
define_key() is ncurses extension and ncurses defines its first
argument as "const ch
Module Name:src
Committed By: uwe
Date: Tue May 14 10:22:48 UTC 2024
Modified Files:
src/lib/libcurses: curses.h curses_input.3 getch.c
Log Message:
curse: constify define_key() argument
define_key() is ncurses extension and ncurses defines its first
argument as "const ch
Module Name:src
Committed By: uwe
Date: Tue May 14 10:38:16 UTC 2024
Modified Files:
src/lib/libcurses: curses_termcap.3
Log Message:
curses_termcap(3): fullname() termbuf argument is const
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libcurses/cur
Module Name:src
Committed By: uwe
Date: Tue May 14 10:38:16 UTC 2024
Modified Files:
src/lib/libcurses: curses_termcap.3
Log Message:
curses_termcap(3): fullname() termbuf argument is const
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libcurses/cur
Module Name:src
Committed By: uwe
Date: Tue May 14 10:40:41 UTC 2024
Modified Files:
src/lib/libcurses: curses_input.3
Log Message:
curses_input(3): bump date for define_key() change
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libcurses/curses_i
Module Name:src
Committed By: uwe
Date: Tue May 14 10:40:41 UTC 2024
Modified Files:
src/lib/libcurses: curses_input.3
Log Message:
curses_input(3): bump date for define_key() change
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libcurses/curses_i
Module Name:src
Committed By: riastradh
Date: Tue May 14 13:41:15 UTC 2024
Modified Files:
src/sys/dev/ic: tpm.c
Log Message:
tpm(4): device_printf needs \n.
Observed in PR 58255.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/ic/tpm.c
Please
Module Name:src
Committed By: riastradh
Date: Tue May 14 13:41:15 UTC 2024
Modified Files:
src/sys/dev/ic: tpm.c
Log Message:
tpm(4): device_printf needs \n.
Observed in PR 58255.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/ic/tpm.c
Please
Module Name:src
Committed By: riastradh
Date: Tue May 14 14:34:35 UTC 2024
Modified Files:
src/lib/libm: Makefile
Added Files:
src/lib/libm: m.powerpc64.expsym
Log Message:
libm: Fix powerpc64 build.
- Include fenv.c and fma(3) symbols (which just use the FMADD
Module Name:src
Committed By: riastradh
Date: Tue May 14 14:34:35 UTC 2024
Modified Files:
src/lib/libm: Makefile
Added Files:
src/lib/libm: m.powerpc64.expsym
Log Message:
libm: Fix powerpc64 build.
- Include fenv.c and fma(3) symbols (which just use the FMADD
Module Name:src
Committed By: riastradh
Date: Tue May 14 14:55:44 UTC 2024
Modified Files:
src/tests/lib/libc/gen: t_fpsetmask.c
src/tests/lib/libm: t_fenv.c
Log Message:
t_fpsetmask, t_fenv: Skip fp exception trap tests on RISC-V.
No architectural support for fp
Module Name:src
Committed By: riastradh
Date: Tue May 14 14:55:44 UTC 2024
Modified Files:
src/tests/lib/libc/gen: t_fpsetmask.c
src/tests/lib/libm: t_fenv.c
Log Message:
t_fpsetmask, t_fenv: Skip fp exception trap tests on RISC-V.
No architectural support for fp
Module Name:src
Committed By: christos
Date: Tue May 14 14:57:09 UTC 2024
Modified Files:
src/etc: makespec
Log Message:
Allow specific subdirectories to be added to the list
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/makespec
Please note that d
Module Name:src
Committed By: christos
Date: Tue May 14 14:57:09 UTC 2024
Modified Files:
src/etc: makespec
Log Message:
Allow specific subdirectories to be added to the list
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/makespec
Please note that d
Module Name:src
Committed By: christos
Date: Tue May 14 14:58:05 UTC 2024
Modified Files:
src/distrib/common: Makefile.bootcd
Log Message:
Put back -xx (this will break some archs but we'll fix them) and automatically
generate the spec for the machine-specific portions of
Module Name:src
Committed By: christos
Date: Tue May 14 14:58:05 UTC 2024
Modified Files:
src/distrib/common: Makefile.bootcd
Log Message:
Put back -xx (this will break some archs but we'll fix them) and automatically
generate the spec for the machine-specific portions of
Module Name:src
Committed By: christos
Date: Tue May 14 14:58:41 UTC 2024
Modified Files:
src/distrib/amd64/cdroms: Makefile.cdrom
Added Files:
src/distrib/amd64/cdroms: spec.in
Log Message:
Add the extra spec for the amd64 cdroms
To generate a diff of this commi
Module Name:src
Committed By: christos
Date: Tue May 14 14:58:41 UTC 2024
Modified Files:
src/distrib/amd64/cdroms: Makefile.cdrom
Added Files:
src/distrib/amd64/cdroms: spec.in
Log Message:
Add the extra spec for the amd64 cdroms
To generate a diff of this commi
Module Name:src
Committed By: riastradh
Date: Tue May 14 15:16:51 UTC 2024
Modified Files:
src/sys/arch/riscv/include: sysreg.h
Log Message:
riscv: Fix reading and writing frm and fflags.
The FRRM/FSRM and FRFLAGS/FSFLAGS instructions do all the masking and
shifting neede
Module Name:src
Committed By: riastradh
Date: Tue May 14 15:16:51 UTC 2024
Modified Files:
src/sys/arch/riscv/include: sysreg.h
Log Message:
riscv: Fix reading and writing frm and fflags.
The FRRM/FSRM and FRFLAGS/FSFLAGS instructions do all the masking and
shifting neede
Module Name:src
Committed By: riastradh
Date: Tue May 14 15:17:57 UTC 2024
Modified Files:
src/sys/arch/riscv/include: sysreg.h
Log Message:
riscv: No volatile needed on asm to _read_ rounding mode, exceptions.
These instructions can be omitted if the return values are un
Module Name:src
Committed By: riastradh
Date: Tue May 14 15:17:57 UTC 2024
Modified Files:
src/sys/arch/riscv/include: sysreg.h
Log Message:
riscv: No volatile needed on asm to _read_ rounding mode, exceptions.
These instructions can be omitted if the return values are un
Module Name:src
Committed By: riastradh
Date: Tue May 14 15:31:42 UTC 2024
Modified Files:
src/tests/lib/libm: t_ilogb.c
Log Message:
t_ilogb: Nix spurious line break in ATF_CHECK_MSG.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libm/t_ilo
Module Name:src
Committed By: riastradh
Date: Tue May 14 15:31:42 UTC 2024
Modified Files:
src/tests/lib/libm: t_ilogb.c
Log Message:
t_ilogb: Nix spurious line break in ATF_CHECK_MSG.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libm/t_ilo
Module Name:src
Committed By: riastradh
Date: Tue May 14 15:54:16 UTC 2024
Modified Files:
src/tests/kernel: h_segv.c
Log Message:
tests/kernel/h_segv: Disable SIGFPE test on RISC-V.
No floating-point exception traps on RISC-V.
Also don't pass the result of divide-by-zer
Module Name:src
Committed By: riastradh
Date: Tue May 14 15:54:16 UTC 2024
Modified Files:
src/tests/kernel: h_segv.c
Log Message:
tests/kernel/h_segv: Disable SIGFPE test on RISC-V.
No floating-point exception traps on RISC-V.
Also don't pass the result of divide-by-zer
Module Name:src
Committed By: riastradh
Date: Tue May 14 16:04:18 UTC 2024
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
t_ptrace_wait: Force result by write to volatile, not call to usleep.
This is causing each FPE-related test to time out because
Module Name:src
Committed By: riastradh
Date: Tue May 14 16:04:18 UTC 2024
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
t_ptrace_wait: Force result by write to volatile, not call to usleep.
This is causing each FPE-related test to time out because
Module Name:src
Committed By: riastradh
Date: Tue May 14 16:06:20 UTC 2024
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
t_ptrace_wait: No FPU exception traps on RISC-V.
This macro is not named correctly -- RISC-V does implement
floating-point excep
Module Name:src
Committed By: riastradh
Date: Tue May 14 16:06:20 UTC 2024
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.h
Log Message:
t_ptrace_wait: No FPU exception traps on RISC-V.
This macro is not named correctly -- RISC-V does implement
floating-point excep
Module Name:src
Committed By: riastradh
Date: Tue May 14 16:10:15 UTC 2024
Modified Files:
src/tests/lib/libc/gen: t_siginfo.c
Log Message:
t_siginfo: No SIGFPE on RISC-V.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/tests/lib/libc/gen/t_siginfo.c
P
Module Name:src
Committed By: riastradh
Date: Tue May 14 16:10:15 UTC 2024
Modified Files:
src/tests/lib/libc/gen: t_siginfo.c
Log Message:
t_siginfo: No SIGFPE on RISC-V.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/tests/lib/libc/gen/t_siginfo.c
P
Module Name:src
Committed By: riastradh
Date: Tue May 14 16:10:54 UTC 2024
Modified Files:
src/tests/lib/libc/gen: t_siginfo.c
Log Message:
t_siginfo: Use volatile to prevent optimization.
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/tests/lib/libc/g
Module Name:src
Committed By: riastradh
Date: Tue May 14 16:10:54 UTC 2024
Modified Files:
src/tests/lib/libc/gen: t_siginfo.c
Log Message:
t_siginfo: Use volatile to prevent optimization.
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/tests/lib/libc/g
Module Name:src
Committed By: christos
Date: Tue May 14 17:15:13 UTC 2024
Modified Files:
src/distrib/i386/cdroms: Makefile.cdrom
Added Files:
src/distrib/i386/cdroms: spec.in
Log Message:
Add the same extra stuff from amd64
To generate a diff of this commit:
cvs
Module Name:src
Committed By: christos
Date: Tue May 14 17:15:13 UTC 2024
Modified Files:
src/distrib/i386/cdroms: Makefile.cdrom
Added Files:
src/distrib/i386/cdroms: spec.in
Log Message:
Add the same extra stuff from amd64
To generate a diff of this commit:
cvs
Module Name:src
Committed By: christos
Date: Tue May 14 17:17:13 UTC 2024
Modified Files:
src/distrib/common: Makefile.bootcd
Log Message:
check if the ${MACHINE} directory exists
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/distrib/common/Makefile.b
Module Name:src
Committed By: christos
Date: Tue May 14 17:17:13 UTC 2024
Modified Files:
src/distrib/common: Makefile.bootcd
Log Message:
check if the ${MACHINE} directory exists
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/distrib/common/Makefile.b
Module Name:src
Committed By: andvar
Date: Tue May 14 19:00:45 UTC 2024
Modified Files:
src/lib/libc/db/recno: rec_utils.c
src/share/examples/emul/ultrix/etc: svc.conf
src/sys/arch/arc/include: vmparam.h
src/sys/arch/hp300/DOC: HPMMU.notes
sr
Module Name:src
Committed By: andvar
Date: Tue May 14 19:00:45 UTC 2024
Modified Files:
src/lib/libc/db/recno: rec_utils.c
src/share/examples/emul/ultrix/etc: svc.conf
src/sys/arch/arc/include: vmparam.h
src/sys/arch/hp300/DOC: HPMMU.notes
sr
Date:Tue, 14 May 2024 12:41:51 +0300
From:Valery Ushakov
Message-ID:
| Unfortunately that advice is not true without further caveats.
That you have to actually write a valid printf(1) command, and not
simply s/echo/printf/ ? Does that really need saying?
| n
On Wed, May 15, 2024 at 05:22:25 +0700, Robert Elz wrote:
> | Unfortunately that advice is not true without further caveats.
>
> That you have to actually write a valid printf(1) command, and not
> simply s/echo/printf/ ? Does that really need saying?
>
>
> | netbsd$ sh -c "printf '-V\n'"
Module Name:src
Committed By: riastradh
Date: Wed May 15 00:02:57 UTC 2024
Modified Files:
src/lib/libm/src: s_modfl.c
src/tests/lib/libm: t_fe_round.c t_modf.c
Log Message:
modfl(3): Fix conversion from FreeBSD.
LDBL_MANL_SIZE is spelled EXT_FRACLBITS -- and not
Module Name:src
Committed By: riastradh
Date: Wed May 15 00:02:57 UTC 2024
Modified Files:
src/lib/libm/src: s_modfl.c
src/tests/lib/libm: t_fe_round.c t_modf.c
Log Message:
modfl(3): Fix conversion from FreeBSD.
LDBL_MANL_SIZE is spelled EXT_FRACLBITS -- and not
Date:Wed, 15 May 2024 02:33:23 +0300
From:Valery Ushakov
Message-ID:
| I vaguely remember I read somewhere that printf(1) was specifically
| conceived to take no options, but that can be planted memories. May
| be it's indeed induced by the old state of affair
46 matches
Mail list logo