CVS: herc.mirbsd.org: src

2020-12-11 Thread Thorsten Glaser
Commit ID:  1005FD40ED27E1F014E
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/12/12 00:31:10 UTC

Modified files:
bin/mksh   : check.t

Log message:
enhance the tests for the exec builtin:

• one to ensure it never returns (unlike GNU bash)
• rename “modern korn shell” one, as pdksh derivatives and zsh do this
• add Austin reference to ksh88 one as POSIX Issue 8 (the “next” release)
  will require that old behaviour, which we already do (if -o posix)
• let these tests run with echo for cross-shell checking

fix some typos while here

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.854 -r1.855 src/bin/mksh/check.t


CVS: herc.mirbsd.org: src

2020-11-28 Thread Thorsten Glaser
Commit ID:  1005FC2EA0B576914E9
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/29 00:24:44 UTC

Modified files:
bin/mksh   : dot.mkshrc

Log message:
make more 'set -ueo pipefail'-safe

mostly by sprinkling set +e where appropriate and using explicit error
handling especially where arithmetics are used, the alternative of doing
http://www.mirbsd.org/cvs.cgi/contrib/hosted/tg/progress-bar#rev1.6 would
be worse; also, end functions with \: (= return 0) in many places and do
not use implicitly-initialised variables; also protect against some unset

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.132 -r1.133 src/bin/mksh/dot.mkshrc


CVS: herc.mirbsd.org: src

2020-11-28 Thread Thorsten Glaser
Commit ID:  1005FC2E68B4926805E
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/29 00:09:27 UTC

Modified files:
bin/mksh   : dot.mkshrc

Log message:
restore the ability to ^D on Lb64decode and add for Lb64encode, Lbafh_add

(basically all users of read -[Nn]-1)

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.131 -r1.132 src/bin/mksh/dot.mkshrc


CVS: herc.mirbsd.org: src

2020-11-28 Thread Thorsten Glaser
Commit ID:  1005FC2E0060A0476DD
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/28 23:40:58 UTC

Modified files:
bin/mksh   : dot.mkshrc

Log message:
stop trashing nōn-line-continuation backslashes

(keeps trashhing ‘#’ inside strings, quoted, etc. but SOL there)

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.130 -r1.131 src/bin/mksh/dot.mkshrc


CVS: herc.mirbsd.org: src

2020-11-28 Thread Thorsten Glaser
Commit ID:  1005FC2DD1F4F616A20
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/28 23:33:49 UTC

Modified files:
bin/mksh   : dot.mkshrc

Log message:
cease making use of the cat builtin

• _dot_mkshrc_wrapped_cat: new, wraps $1 (shifted away) into either
  just "$1" (if no args, or a sole dash as arg) or 「cat "$@" | "$1"」
• smores: use _dot_mkshrc_wrapped_cat, drop subshell/coprocess stuff,
  use local variables only, use || logic for better set -e compat
• hd/hd_mksh: use external cat as _dot_mkshrc_wrapped_cat cannot be
  used since hd_mksh sets stdin to raw mode so ^D stops working
• Lb64decode: use read -rN-1 instead of cat/X
• Lstripcom: use _dot_mkshrc_wrapped_cat

also:
• review print statements, function fallthrough errorlevels
• add missing backslashes before function or externals calls
• insert missing \\builtin before return

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.129 -r1.130 src/bin/mksh/dot.mkshrc


CVS: herc.mirbsd.org: src

2020-11-27 Thread Thorsten Glaser
Commit ID:  1005FC1760C67192B59
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/27 21:56:11 UTC

Modified files:
bin/mksh   : edit.c

Log message:
another const-cleanliness thing

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.358 -r1.359 src/bin/mksh/edit.c


CVS: herc.mirbsd.org: src

2020-11-26 Thread Thorsten Glaser
Commit ID:  1005FC057D372CCE405
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/27 01:35:19 UTC

Modified files:
bin/mksh   : exec.c mksh.1

Log message:
unbreak restoring set ±m (±o monitor) and never restore ±p (±o privileged)
upon FKSH function exit

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.224 -r1.225 src/bin/mksh/exec.c
cvs -R rdiff -kk -upr1.497 -r1.498 src/bin/mksh/mksh.1


CVS: herc.mirbsd.org: src

2020-11-26 Thread Thorsten Glaser
Commit ID:  1005FC051356FEB55A4
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/27 01:07:25 UTC

Modified files:
bin/mksh   : mksh.1

Log message:
fix “accent gravis” rendering, oops

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.496 -r1.497 src/bin/mksh/mksh.1


CVS: herc.mirbsd.org: src

2020-11-25 Thread Thorsten Glaser
Commit ID:  1005FBF23F649ADF418
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/26 03:41:29 UTC

Modified files:
usr.bin/vi/docs/USD.doc/vi.man: vi.1

Log message:
explain “to hajkl”, visually and mnemonically

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.6 -r1.7 src/usr.bin/vi/docs/USD.doc/vi.man/vi.1


CVS: herc.mirbsd.org: src

2020-11-25 Thread Thorsten Glaser
Commit ID:  1005FBF1EDA01E1426E
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/26 03:21:22 UTC

Modified files:
usr.bin/vi/docs/USD.doc/exref: Makefile
Removed files:
share/doc/usd/14.jove: Makefile jove.1 jove.2 jove.3 jove.4

Log message:
nuke USD/14.jove and move USD/13.ex to USD/14.exref:
• deduplicates number with USD/13.viref
• it’s called exref as well in the source and parallels viref

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.7.1 -r0 src/share/doc/usd/14.jove/Makefile
cvs -R rdiff -kk -upr1.1.7.1 -r0 src/share/doc/usd/14.jove/jove.1
cvs -R rdiff -kk -upr1.1.7.1 -r0 src/share/doc/usd/14.jove/jove.2
cvs -R rdiff -kk -upr1.1.7.1 -r0 src/share/doc/usd/14.jove/jove.3
cvs -R rdiff -kk -upr1.1.7.1 -r0 src/share/doc/usd/14.jove/jove.4
cvs -R rdiff -kk -upr1.2 -r1.3 src/usr.bin/vi/docs/USD.doc/exref/Makefile


CVS: herc.mirbsd.org: src

2020-11-25 Thread Thorsten Glaser
Commit ID:  1005FBF1CF33D419731
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/26 03:11:46 UTC

Modified files:
bin/mksh   : check.t

Log message:
fix expected-stderr-pattern for regression-37 (and fix a bad typo fix)

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.853 -r1.854 src/bin/mksh/check.t


CVS: herc.mirbsd.org: src

2020-11-25 Thread Thorsten Glaser
Commit ID:  1005FBEF923148E008C
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/26 00:42:28 UTC

Modified files:
lib/libc/sys   : readlink.2
include: unistd.h
sys/kern   : init_sysent.c syscalls.c
sys/sys: syscall.h syscallargs.h
usr.bin/readlink: readlink.c
bin/mksh   : misc.c

Log message:
• check readlink(2) arg (to avoid TOCTOU race) by doing something like:

char buf[size + 1];
ssize_t n = readlink(fn, buf, sizeof(buf));
if (n == (ssize_t)-1 || n > size) // error
 alt.   if (n == (ssize_t)-1 || n >= sizeof(buf)) // error

  via https://www.hadrons.org/~guillem/debian/ports/porting

• readlink(2) returns ssize_t (per POSIX) while here

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.2 -r1.3 src/lib/libc/sys/readlink.2
cvs -R rdiff -kk -upr1.14 -r1.15 src/include/unistd.h
cvs -R rdiff -kk -upr1.10 -r1.11 src/sys/kern/init_sysent.c
cvs -R rdiff -kk -upr1.10 -r1.11 src/sys/kern/syscalls.c
cvs -R rdiff -kk -upr1.10 -r1.11 src/sys/sys/syscall.h
cvs -R rdiff -kk -upr1.10 -r1.11 src/sys/sys/syscallargs.h
cvs -R rdiff -kk -upr1.6 -r1.7 src/usr.bin/readlink/readlink.c
cvs -R rdiff -kk -upr1.302 -r1.303 src/bin/mksh/misc.c


CVS: herc.mirbsd.org: src

2020-11-25 Thread Thorsten Glaser
Commit ID:  1005FBEF718506FB67C
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/26 00:29:59 UTC

Modified files:
lib/libc/sys   : mmap.c mquery.c Makefile.inc

Log message:
quell a compiler error (same evil hack as in e.g. lseek.c)

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.3 -r1.2 src/lib/libc/sys/mmap.c
cvs -R rdiff -kk -upr1.1.1.2 -r1.2 src/lib/libc/sys/mquery.c
cvs -R rdiff -kk -upr1.11 -r1.12 src/lib/libc/sys/Makefile.inc


CVS: herc.mirbsd.org: src

2020-11-25 Thread Thorsten Glaser
Commit ID:  1005FBEF23D6EF298D9
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/26 00:09:08 UTC

Modified files:
lib/libc/crypt : blowfish.c

Log message:
small __CRAZY=Yes fix: unused locals

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.3 -r1.4 src/lib/libc/crypt/blowfish.c


CVS: herc.mirbsd.org: src

2020-11-25 Thread Thorsten Glaser
Commit ID:  1005FBEEF647E7AA0F9
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/25 23:57:28 UTC

Modified files:
sys/arch/i386/include: types.h
sys/arch/sparc/include: types.h

Log message:
fix register_t (i386 was int not long, sparc was unsigned‽)

also unify {,u}intptr_t while here

“supposedly correct” defns from OpenBSD

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.3 -r1.4 src/sys/arch/i386/include/types.h
cvs -R rdiff -kk -upr1.2 -r1.3 src/sys/arch/sparc/include/types.h


CVS: herc.mirbsd.org: src

2020-11-25 Thread Thorsten Glaser
Commit ID:  1005FBEF0893C283594
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/26 00:02:03 UTC

Modified files:
sys/kern   : Tag: 1.14 syscalls.master

Log message:
readlink(2) is supposed to return ssize_t; found during mksh review

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr0 -r1.14 src/sys/kern/syscalls.master


CVS: herc.mirbsd.org: src

2020-11-19 Thread Thorsten Glaser
Commit ID:  1005FB66B80144082D8
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/19 12:56:18 UTC

Modified files:
usr.sbin/rdate : ntp.c

Log message:
OpenSuSE Factory/arm64 defines uint64_t as unsigned long… AGH!

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.23 -r1.24 src/usr.sbin/rdate/ntp.c


CVS: herc.mirbsd.org: src

2020-11-19 Thread Thorsten Glaser
Commit ID:  1005FB66B234A932C00
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/19 12:54:41 UTC

Modified files:
usr.sbin/rdate : rdate.8

Log message:
some formatting improvements

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.14 -r1.15 src/usr.sbin/rdate/rdate.8


CVS: herc.mirbsd.org: src

2020-11-19 Thread Thorsten Glaser
Commit ID:  1005FB66B4540E41371
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/19 12:55:10 UTC

Modified files:
usr.sbin/rdate : rdate.8

Log message:
less hyphenation

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.15 -r1.16 src/usr.sbin/rdate/rdate.8


CVS: herc.mirbsd.org: src

2020-11-19 Thread Thorsten Glaser
Commit ID:  1005FB667973F42EAC4
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/19 12:41:14 UTC

Modified files:
usr.sbin/rdate : GNUmakefile rdate.c rdate.h rfc868time.c

Log message:
make use of the more BSD-standard functions

rdate.h can now be used as new standard MBSDPORT_H (not that
arc4random.c really needs that…)

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.7 -r1.8 src/usr.sbin/rdate/GNUmakefile
cvs -R rdiff -kk -upr1.14 -r1.15 src/usr.sbin/rdate/rdate.c
cvs -R rdiff -kk -upr1.7 -r1.8 src/usr.sbin/rdate/rdate.h
cvs -R rdiff -kk -upr1.7 -r1.8 src/usr.sbin/rdate/rfc868time.c


CVS: herc.mirbsd.org: src

2020-11-19 Thread Thorsten Glaser
Commit ID:  1005FB669D351A529E1
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/19 12:49:01 UTC

Modified files:
usr.sbin/rdate : Tag: 1.14 rdate.8

Log message:
update portmdoc

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr0 -r1.14 src/usr.sbin/rdate/rdate.8


CVS: herc.mirbsd.org: src

2020-11-19 Thread Thorsten Glaser
Commit ID:  1005FB665AE1FEE07A0
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/19 12:31:33 UTC

Modified files:
usr.sbin/rdate : cutil.c ntp.c rdate.c rdate.h rfc868time.c

Log message:
inclusion guard; ensure  is earlier as style(9) requires

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.4 -r1.5 src/usr.sbin/rdate/cutil.c
cvs -R rdiff -kk -upr1.22 -r1.23 src/usr.sbin/rdate/ntp.c
cvs -R rdiff -kk -upr1.13 -r1.14 src/usr.sbin/rdate/rdate.c
cvs -R rdiff -kk -upr1.5 -r1.6 src/usr.sbin/rdate/rdate.h
cvs -R rdiff -kk -upr1.6 -r1.7 src/usr.sbin/rdate/rfc868time.c


CVS: herc.mirbsd.org: src

2020-11-19 Thread Thorsten Glaser
Commit ID:  1005FB666794EEA0D32
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/19 12:34:44 UTC

Modified files:
usr.sbin/rdate : rdate.h

Log message:
add RCSID and similar stuff from src/usr.bin/rs/rs.h,v 1.4

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.6 -r1.7 src/usr.sbin/rdate/rdate.h


CVS: herc.mirbsd.org: src

2020-11-10 Thread Thorsten Glaser
Commit ID:  1005FAB25ED69073A95
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/10 23:44:30 UTC

Modified files:
bin/mksh   : dot.mkshrc

Log message:
make Lstripcom keep errorlevel at 0

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.128 -r1.129 src/bin/mksh/dot.mkshrc


CVS: herc.mirbsd.org: src

2020-11-08 Thread Thorsten Glaser
Commit ID:  1005FA839E3200C0737
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/08 18:33:36 UTC

Modified files:
distrib/special/mksh: Makefile
bin/mksh   : Makefile

Log message:
-std=c89 implies -D__STRICT_ANSI__ because it’s the same as -ansi,
but we can’t really use that here (as we want __BSD_VISIBLE), so
pack -U__STRICT_ANSI__ straight behind -std=c89 as pax does

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.107 -r1.108 src/distrib/special/mksh/Makefile
cvs -R rdiff -kk -upr1.172 -r1.173 src/bin/mksh/Makefile


CVS: herc.mirbsd.org: src

2020-11-08 Thread Thorsten Glaser
Commit ID:  1005FA83981013BAA16
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/08 18:31:23 UTC

Modified files:
sys/sys: tree.h

Log message:
force inlining the new macros and use __inline for C89 compat

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.4 -r1.5 src/sys/sys/tree.h


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA752892DF27037
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/08 02:05:35 UTC

Modified files:
sys/sys: stat.h

Log message:
merge

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.4 -r1.5 src/sys/sys/stat.h


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA7523B2A1BD894
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/08 02:04:22 UTC

Modified files:
sys/sys: Tag: openbsd stat.h

Log message:
update but keep the ABI

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.2 -r1.1.1.3 src/sys/sys/stat.h


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA7461BBAA1
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/08 01:12:32 UTC

Modified files:
include: limits.h
sys/sys: param.h syslimits.h

Log message:
merge 

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.6 -r1.7 src/include/limits.h
cvs -R rdiff -kk -upr1.107 -r1.108 src/sys/sys/param.h
cvs -R rdiff -kk -upr1.2 -r1.3 src/sys/sys/syslimits.h


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA743A42906852B
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/08 01:02:05 UTC

Modified files:
sys/sys: Tag: openbsd syslimits.h

Log message:
update

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.2 -r1.1.1.3 src/sys/sys/syslimits.h


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA7377A600AEA2B
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/08 00:10:30 UTC

Modified files:
sys/sys: tree.h

Log message:
merge and drop delta from openbsd, obsolete since 1.3 merged 1.1.1.3
… nine years ago…

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.3 -r1.4 src/sys/sys/tree.h


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA7287077F96908
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 23:06:05 UTC

Modified files:
sys/sys: _null.h

Log message:
add CFrustFrust 2011 support

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1 -r1.2 src/sys/sys/_null.h


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA727E015F3993C
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 23:03:38 UTC

Modified files:
include: dirent.h stdio.h stdlib.h string.h time.h unistd.h
kern/include   : libckern.h
sys/sys: param.h stddef.h
Added files:
sys/sys: _null.h

Log message:
move our NULL definitions into  like OpenBSD did

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.8 -r1.9 src/include/dirent.h
cvs -R rdiff -kk -upr1.14 -r1.15 src/include/stdio.h
cvs -R rdiff -kk -upr1.40 -r1.41 src/include/stdlib.h
cvs -R rdiff -kk -upr1.17 -r1.18 src/include/string.h
cvs -R rdiff -kk -upr1.16 -r1.17 src/include/time.h
cvs -R rdiff -kk -upr1.13 -r1.14 src/include/unistd.h
cvs -R rdiff -kk -upr1.43 -r1.44 src/kern/include/libckern.h
cvs -R rdiff -kk -upr0 -r1.1 src/sys/sys/_null.h
cvs -R rdiff -kk -upr1.106 -r1.107 src/sys/sys/param.h
cvs -R rdiff -kk -upr1.5 -r1.6 src/sys/sys/stddef.h


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA722BC4C56464B
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 22:41:39 UTC

Modified files:
share/man/man3 : Makefile

Log message:
merge

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.4 -r1.5 src/share/man/man3/Makefile


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA721B77B94284C
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 22:39:00 UTC

Modified files:
sys/sys: Tag: openbsd queue.h tree.h

Log message:
update from OpenBSD, but keep the CIRCLEQ macros for now:

we still have code that uses it, and our compiler is so
old it probably shan’t miscompile them…

Modified files:
share/man/man3 : Tag: openbsd Makefile queue.3 tree.3

Log message:
update from OpenBSD

also generate MLINKS from the new manpages

here, drop CIRCLEQ, we can add them back in
contrib/extraman/ as they are obsolete anyway
as links to queue.3 as that explains why

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.5 -r1.1.1.6 src/sys/sys/queue.h
cvs -R rdiff -kk -upr1.1.1.3 -r1.1.1.4 src/sys/sys/tree.h
cvs -R rdiff -kk -upr1.1.1.3 -r1.1.1.4 src/share/man/man3/Makefile
cvs -R rdiff -kk -upr1.1.1.2 -r1.1.1.3 src/share/man/man3/queue.3
cvs -R rdiff -kk -upr1.1.1.2 -r1.1.1.3 src/share/man/man3/tree.3


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA71BD061CB56F8
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 22:12:12 UTC

Modified files:
sys/kern   : Tag: openbsd sysv_sem.c

Log message:
more for 

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.3 -r1.1.1.4 src/sys/kern/sysv_sem.c


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA71B66143B381A
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 22:10:33 UTC

Modified files:
sys/kern   : Tag: openbsd sysv_sem.c

Log message:
move MAIN branch changes here; they are an OpenBSD erratum after all

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.2 -r1.1.1.3 src/sys/kern/sysv_sem.c


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA71B163A0621E6
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 22:09:00 UTC

Modified files:
sys/kern   : sysv_sem.c

Log message:
fastmerge

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.2 -r1.3 src/sys/kern/sysv_sem.c


CVS: herc.mirbsd.org: src

2020-11-07 Thread Thorsten Glaser
Commit ID:  1005FA71ADA339EF37A
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 22:08:09 UTC

Modified files:
sys/kern   : Tag: openbsd sysv_sem.c

Log message:
backport r1.42 to be able to update 

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.1 -r1.1.1.2 src/sys/kern/sysv_sem.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA610353C32A964
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 03:10:26 UTC

Modified files:
lib/libutil: Makefile bcrypt_pbkdf.c util.h

Log message:
and hook it; the new ssh needs it

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.6 -r1.7 src/lib/libutil/Makefile
cvs -R rdiff -kk -upr1.1.1.1 -r1.2 src/lib/libutil/bcrypt_pbkdf.c
cvs -R rdiff -kk -upr1.2 -r1.3 src/lib/libutil/util.h


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA60EE36C18C891
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 03:04:41 UTC

Log message:
+

Status:

Vendor Tag: openbsd
Release Tags:   cvs-20201107

To reduce mail sizes, imports only send out the log message
and tags; the (rather large) ChangeLog data can be found at
|   http://www.mirbsd.org/clogs/ChangeLog
Please remember that it can take some time to synchronise.


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA604E05C679659
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 02:22:03 UTC

Modified files:
lib/libc/gen   : Makefile.inc getnetgrent.c

Log message:
this one was honestly trivial to fix

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.14 -r1.15 src/lib/libc/gen/Makefile.inc
cvs -R rdiff -kk -upr1.3 -r1.4 src/lib/libc/gen/getnetgrent.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA6044B698B4A11
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 02:20:10 UTC

Modified files:
lib/libc/string: Makefile.inc
include: string.h
Added files:
lib/libc/string: memmem.c

Log message:
add the utterly stupid unconstifying memmem(3) API

from, presumably, musl, via openssh-portable

fix it up somewhat to use standards-compliant unconstifying… hmpf…

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.30 -r1.31 src/lib/libc/string/Makefile.inc
cvs -R rdiff -kk -upr0 -r1.1 src/lib/libc/string/memmem.c
cvs -R rdiff -kk -upr1.16 -r1.17 src/include/string.h


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5FD9B10815176
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 01:51:09 UTC

Modified files:
lib/libc/gen   : Makefile.inc getcap.3 getcap.c login_cap.3 login_cap.c
lib/libc/stdlib: recallocarray.c
include: login_cap.h stdlib.h

Log message:
assorted warning and const-cleanliness fixes

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.13 -r1.14 src/lib/libc/gen/Makefile.inc
cvs -R rdiff -kk -upr1.1.1.3 -r1.2 src/lib/libc/gen/getcap.3
cvs -R rdiff -kk -upr1.4 -r1.5 src/lib/libc/gen/getcap.c
cvs -R rdiff -kk -upr1.1.1.2 -r1.2 src/lib/libc/gen/login_cap.3
cvs -R rdiff -kk -upr1.2 -r1.3 src/lib/libc/gen/login_cap.c
cvs -R rdiff -kk -upr1.2 -r1.3 src/lib/libc/stdlib/recallocarray.c
cvs -R rdiff -kk -upr1.2 -r1.3 src/include/login_cap.h
cvs -R rdiff -kk -upr1.39 -r1.40 src/include/stdlib.h


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5F7F6625E3D12
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 01:26:56 UTC

Modified files:
lib/libc   : Makefile
include: stdlib.h
lib/libc/stdlib: Makefile.inc malloc.3 malloc.c
Added files:
lib/libc/stdlib: recallocarray.c

Log message:
merge freezero, recallocarray

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.48 -r1.49 src/lib/libc/Makefile
cvs -R rdiff -kk -upr1.38 -r1.39 src/include/stdlib.h
cvs -R rdiff -kk -upr1.17 -r1.18 src/lib/libc/stdlib/Makefile.inc
cvs -R rdiff -kk -upr1.9 -r1.10 src/lib/libc/stdlib/malloc.3
cvs -R rdiff -kk -upr1.15 -r1.16 src/lib/libc/stdlib/malloc.c
cvs -R rdiff -kk -upr1.1 -r1.2 src/lib/libc/stdlib/recallocarray.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5F51C0A90FED4
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 01:14:59 UTC

Modified files:
include: Tag: openbsd stdlib.h
lib/libc/stdlib: Tag: openbsd malloc.3 malloc.c
Added files:
lib/libc/stdlib: Tag: openbsd recallocarray.c

Log message:
backport freezero and recallocarray from OpenBSD

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.2 -r1.1.1.3 src/include/stdlib.h
cvs -R rdiff -kk -upr1.1.1.8 -r1.1.1.9 src/lib/libc/stdlib/malloc.3
cvs -R rdiff -kk -upr1.1.1.11 -r1.1.1.12 src/lib/libc/stdlib/malloc.c
cvs -R rdiff -kk -upr0 -r1.1.2.1 src/lib/libc/stdlib/recallocarray.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5F6662A2AEE69
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 01:20:33 UTC

Modified files:
lib/libc/stdlib: Makefile.inc
share/mk   : bsd.own.mk
Removed files:
lib/libc/stdlib: malloc_mmap.c calloc.c malloc_brk.c

Log message:
cease allowing malloc flavour selection: freezero is built into omalloc now

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.16 -r1.17 src/lib/libc/stdlib/Makefile.inc
cvs -R rdiff -kk -upr1.1 -r0 src/lib/libc/stdlib/malloc_mmap.c
cvs -R rdiff -kk -upr1.1.1.3 -r0 src/lib/libc/stdlib/calloc.c
cvs -R rdiff -kk -upr1.4 -r0 src/lib/libc/stdlib/malloc_brk.c
cvs -R rdiff -kk -upr1.65 -r1.66 src/share/mk/bsd.own.mk


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5EF2A0E686C2D
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 00:49:20 UTC

Modified files:
lib/libc/stdio : getline.3

Log message:
wording/wrapping

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.3 -r1.4 src/lib/libc/stdio/getline.3


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5ECEE4E97EEAA
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 00:39:50 UTC

Modified files:
include: stdio.h
lib/libc/stdio : getline.3 getline.c

Log message:
POSIX now has getline, without _GNU_SOURCE

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.13 -r1.14 src/include/stdio.h
cvs -R rdiff -kk -upr1.2 -r1.3 src/lib/libc/stdio/getline.3
cvs -R rdiff -kk -upr1.1 -r1.2 src/lib/libc/stdio/getline.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5EA1070877571
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 00:27:47 UTC

Modified files:
lib/libc/gen   : glob.3 glob.c
include: glob.h

Log message:
fix errfunc parameter to be as documented and fix documentation as intended

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.7 -r1.8 src/lib/libc/gen/glob.3
cvs -R rdiff -kk -upr1.11 -r1.12 src/lib/libc/gen/glob.c
cvs -R rdiff -kk -upr1.5 -r1.6 src/include/glob.h


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5E7DC7521635C
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 00:18:20 UTC

Modified files:
lib/libc/gen   : Tag: openbsd glob.c

Log message:
revert getpw{uid,nam}_r change as well

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.5 -r1.1.1.6 src/lib/libc/gen/glob.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5E80D169C8C94
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 00:19:01 UTC

Modified files:
lib/libc/gen   : glob.c

Log message:
fastmerge

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.10 -r1.11 src/lib/libc/gen/glob.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5E4606F85148A
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 00:03:24 UTC

Modified files:
lib/libc/gen   : glob.3

Log message:
repair what was actually a bogus change

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.6 -r1.7 src/lib/libc/gen/glob.3


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5E40A56ACC3C3
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 00:02:03 UTC

Modified files:
lib/libc/gen   : glob.3

Log message:
some consistency and mdoc fixes

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.5 -r1.6 src/lib/libc/gen/glob.3


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5E54A1F8AD115
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/07 00:07:21 UTC

Modified files:
include: Tag: openbsd pwd.h

Log message:
backport another thing from OpenBSD

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.1 -r1.1.1.2 src/include/pwd.h


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5DC626528DC29
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/06 23:29:13 UTC

Modified files:
include: glob.h
lib/libc/gen   : glob.3 glob.c

Log message:
fastmerge

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.4 -r1.5 src/include/glob.h
cvs -R rdiff -kk -upr1.4 -r1.5 src/lib/libc/gen/glob.3
cvs -R rdiff -kk -upr1.9 -r1.10 src/lib/libc/gen/glob.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5DA9A057AB014
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/06 23:21:43 UTC

Modified files:
lib/libc/gen   : Tag: openbsd glob.c

Log message:
keep the charclass.h stuff reverted

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.4 -r1.1.1.5 src/lib/libc/gen/glob.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5D95A1F9F0FC4
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/06 23:16:25 UTC

Modified files:
lib/libc/gen   : glob.c

Log message:
revert r1.5, we’ll get this from the OpenBSD update

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.8 -r1.9 src/lib/libc/gen/glob.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5D7780AF4416D
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/06 23:08:31 UTC

Modified files:
include: Tag: openbsd glob.h

Log message:
backport latest OpenBSD changes (as applicable)

Modified files:
lib/libc/gen   : Tag: openbsd glob.3 glob.c

Log message:
sync from OpenBSD

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.3 -r1.1.1.4 src/include/glob.h
cvs -R rdiff -kk -upr1.1.1.3 -r1.1.1.4 src/lib/libc/gen/glob.3
cvs -R rdiff -kk -upr1.1.1.3 -r1.1.1.4 src/lib/libc/gen/glob.c


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5D3870ED7F8BA
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/06 22:51:31 UTC

Modified files:
sys/netinet: ip.h

Log message:
backport a few extra options from OpenBSD

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.2 -r1.3 src/sys/netinet/ip.h


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5D3061706E026
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/06 22:49:27 UTC

Modified files:
sys/netinet: ip.h

Log message:
from OpenBSD: stop using n_time here; allows inclusion in random userspace

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.1 -r1.2 src/sys/netinet/ip.h


CVS: herc.mirbsd.org: src

2020-11-06 Thread Thorsten Glaser
Commit ID:  1005FA5D0EB27D9C3D3
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/11/06 22:40:25 UTC

Modified files:
lib/libssl/src/crypto: crypto.h

Log message:
add some forward compatibility to LibreSSL

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.3 -r1.2 src/lib/libssl/src/crypto/crypto.h


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/31 05:23:49 UTC

Adding static tag 'mksh-R59c' affecting:

various files; if you want to know more, go read
http://www.mirbsd.org/clogs/ChangeLog


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/31 05:23:53 UTC

Deleting  tag 'mksh-R59c' affecting:

various files; if you want to know more, go read
http://www.mirbsd.org/clogs/ChangeLog


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
Commit ID:  1005F9CF39057A6A7F5
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/31 05:17:47 UTC

Modified files:
bin/mksh   : Makefile

Log message:
simplify making cats

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.171 -r1.172 src/bin/mksh/Makefile


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
Commit ID:  1005F9CEFDE08882A49
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/31 05:02:19 UTC

Modified files:
bin/mksh   : edit.c

Log message:
omit a static string that’s not needed in MKSH_SMALL without vi mode

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.356 -r1.357 src/bin/mksh/edit.c


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
Commit ID:  1005F9CE7ED52258ABE
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/31 04:28:55 UTC

Modified files:
bin/mksh   : tree.c

Log message:
omit very-unlikely code from MKSH_SMALL

(keep the if though, there’s time between newtp(TCOM) and assignment
to t->{args,vars} during which error messages could call this)

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.99 -r1.100 src/bin/mksh/tree.c


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
Commit ID:  1005F9CE5702503568F
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/31 04:17:36 UTC

Modified files:
bin/mksh   : FAQ2HTML.sh

Log message:
this is really /bin/sh, make it support some more pre-POSIX shells

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1 -r1.2 src/bin/mksh/FAQ2HTML.sh


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
Commit ID:  1005F9CE02D6565721D
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/31 03:56:02 UTC

Modified files:
bin/mksh   : tree.c

Log message:
drop some code that is at least twice wrong (break ipv break 2; '\'' vs '\\'),
probably not reached and untested anyway; from commitid 100576F1CD52EC29A00
(r1.84) no idea how I came to that…

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.98 -r1.99 src/bin/mksh/tree.c


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
Commit ID:  1005F9CDFA71105FD39
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/31 03:53:09 UTC

Modified files:
bin/mksh   : check.t sh.h tree.c

Log message:
fix order of tree-printing heredocs (LP#1783355)

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.852 -r1.853 src/bin/mksh/check.t
cvs -R rdiff -kk -upr1.903 -r1.904 src/bin/mksh/sh.h
cvs -R rdiff -kk -upr1.97 -r1.98 src/bin/mksh/tree.c


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
Commit ID:  1005F9CC4B51978688B
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/31 01:58:03 UTC

Modified files:
usr.bin/calendar/calendars: calendar.birthday calendar.computer
 calendar.fictional calendar.history calendar.holiday
 calendar.music calendar.openbsd calendar.usholiday
usr.bin/calendar/calendars/de_DE.ISO_8859-1: calendar.feiertag
 calendar.geschichte calendar.literatur
usr.bin/calendar/calendars/fr_FR.ISO8859-1: calendar.jferies
usr.bin/calendar/calendars/hr_HR.ISO_8859-2: calendar.praznici
usr.bin/calendar/calendars/ru_RU.KOI8-R: calendar.primety

Log message:
fix some format-inherent spacing mistakes and some double-spacing

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.2 -r1.3 src/usr.bin/calendar/calendars/calendar.birthday
cvs -R rdiff -kk -upr1.7 -r1.8 src/usr.bin/calendar/calendars/calendar.computer
cvs -R rdiff -kk -upr1.2 -r1.3 src/usr.bin/calendar/calendars/calendar.fictional
cvs -R rdiff -kk -upr1.7 -r1.8 src/usr.bin/calendar/calendars/calendar.history
cvs -R rdiff -kk -upr1.2 -r1.3 src/usr.bin/calendar/calendars/calendar.holiday
cvs -R rdiff -kk -upr1.3 -r1.4 src/usr.bin/calendar/calendars/calendar.music
cvs -R rdiff -kk -upr1.20 -r1.21 src/usr.bin/calendar/calendars/calendar.openbsd
cvs -R rdiff -kk -upr1.1.1.1 -r1.2 
src/usr.bin/calendar/calendars/calendar.usholiday
cvs -R rdiff -kk -upr1.3 -r1.4 
src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.feiertag
cvs -R rdiff -kk -upr1.3 -r1.4 
src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.geschichte
cvs -R rdiff -kk -upr1.2 -r1.3 
src/usr.bin/calendar/calendars/de_DE.ISO_8859-1/calendar.literatur
cvs -R rdiff -kk -upr1.1.1.1 -r1.2 
src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.jferies
cvs -R rdiff -kk -upr1.1.1.1 -r1.2 
src/usr.bin/calendar/calendars/hr_HR.ISO_8859-2/calendar.praznici
cvs -R rdiff -kk -upr1.1.1.1 -r1.2 
src/usr.bin/calendar/calendars/ru_RU.KOI8-R/calendar.primety


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
Commit ID:  1005F9CBC2B27AEAC79
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/31 01:21:59 UTC

Modified files:
bin/mksh   : syn.c

Log message:
greatly reduce the amount of realloc calls:

allocate an ioword array only if there are indeed any
(cache during parsing in a static array, since the size is fixed and
small enough for this)

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.128 -r1.129 src/bin/mksh/syn.c


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/30 07:02:54 UTC

Adding static tag 'paxmirabilis-20201030' affecting:

various files; if you want to know more, go read
http://www.mirbsd.org/clogs/ChangeLog


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/30 07:04:47 UTC

Deleting  tag 'paxmirabilis-20201030' affecting:

various files; if you want to know more, go read
http://www.mirbsd.org/clogs/ChangeLog


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
Commit ID:  1005F9BB9281E0D495C
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/30 06:56:41 UTC

Modified files:
bin/pax: Build.sh

Log message:
get this to build on Cygwin again (whose libc is GAH⚠) so we can update the
Win32 binaries offered for download

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.18 -r1.19 src/bin/pax/Build.sh


CVS: herc.mirbsd.org: src

2020-10-30 Thread Thorsten Glaser
Commit ID:  1005F9BB8FA5BA4608B
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/30 06:56:01 UTC

Modified files:
bin/pax: compat.h

Log message:
nōn-MirBSD systems need  which on MirBSD is covered by the
 inclusion, but was forgotten when the latter was ifdef’d
for compatibility

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.7 -r1.8 src/bin/pax/compat.h


CVS: herc.mirbsd.org: src

2020-10-29 Thread Thorsten Glaser
Commit ID:  1005F9B49090C12692C
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/29 22:58:03 UTC

Modified files:
lib/libc/string: strlcpy.3

Log message:
Mirify the manpage; document UB change and OSX misbehaviour

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.3 -r1.2 src/lib/libc/string/strlcpy.3


CVS: herc.mirbsd.org: src

2020-10-29 Thread Thorsten Glaser
Commit ID:  1005F9B41D321D94DF5
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/29 22:27:57 UTC

Modified files:
lib/libc/string: Tag: openbsd strlcpy.3

Log message:
update manpage from OpenBSD; I’m appalled, someone decided to change this
function to make behaviour on overlapping strings undefined, and on Darwin
this crashes with SIGILL now (deliberately, it appears)…

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.2 -r1.1.1.3 src/lib/libc/string/strlcpy.3


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97D8573CD50BF9
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 08:21:06 UTC

Modified files:
bin/ed : GNUmakefile sub.c

Log message:
test on and adjust for contemporary GNU/Linux

(glibc ships reallocarray(3) but *still* not strlcpy(3) and strlcat(3);
split the addons so users add what they really need only)

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.10 -r1.11 src/bin/ed/GNUmakefile
cvs -R rdiff -kk -upr1.3 -r1.4 src/bin/ed/sub.c


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97D35135528A01
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 07:58:59 UTC

Modified files:
bin/ed/test: ckscripts.sh mkscripts.sh

Log message:
let these scripts work with GNU ed, which has a longstanding bug

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.3 -r1.4 src/bin/ed/test/ckscripts.sh
cvs -R rdiff -kk -upr1.3 -r1.4 src/bin/ed/test/mkscripts.sh


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97D4F2728C18A9
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 08:05:57 UTC

Modified files:
bin/ed/test: ckscripts.sh mkscripts.sh

Log message:
GNU ed is also picky about getting a Q before reading EOF…

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.4 -r1.5 src/bin/ed/test/ckscripts.sh
cvs -R rdiff -kk -upr1.4 -r1.5 src/bin/ed/test/mkscripts.sh


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97D070119E3366
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 07:46:34 UTC

Modified files:
bin/ed : main.c

Log message:
this can be local

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.25 -r1.26 src/bin/ed/main.c


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97D02B11F29162
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 07:45:36 UTC

Modified files:
bin/ed : main.c

Log message:
fix refactoro at 336 bytes cost, reducing savings to 1552 bytes

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.24 -r1.25 src/bin/ed/main.c


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97CB747B089D5D
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 07:25:36 UTC

Modified files:
bin/ed : main.c

Log message:
shave another 240 (normal) / 1888 (SMALL) bytes with crazy refactoring

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.23 -r1.24 src/bin/ed/main.c


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97CD69446EA4BF
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 07:33:43 UTC

Modified files:
bin/ed : Makefile
distrib/special/ed: Makefile

Log message:
a nicer way to regress in both

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.5 -r1.6 src/bin/ed/Makefile
cvs -R rdiff -kk -upr1.5 -r1.6 src/distrib/special/ed/Makefile


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97C5DB31696D69
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 07:01:27 UTC

Modified files:
bin/ed : ed.h main.c

Log message:
shave off another 24 bytes

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.18 -r1.19 src/bin/ed/ed.h
cvs -R rdiff -kk -upr1.22 -r1.23 src/bin/ed/main.c


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97C2830EDDBCF3
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 06:47:36 UTC

Modified files:
bin/ed : ed.h main.c

Log message:
ifdef SMALL save another 756 bytes by factoring out another oft-used macro
(not as big, used more often)

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.17 -r1.18 src/bin/ed/ed.h
cvs -R rdiff -kk -upr1.21 -r1.22 src/bin/ed/main.c


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97C17158ADFF74
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 06:42:37 UTC

Modified files:
distrib/special/ed: Makefile

Log message:
I will want to test this one, too

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.4 -r1.5 src/distrib/special/ed/Makefile


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97C18F68D1A00B
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 06:43:12 UTC

Modified files:
bin/ed : ed.h main.c

Log message:
ifdef SMALL save 2760 bytes by factoring out realloc code, often called

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.16 -r1.17 src/bin/ed/ed.h
cvs -R rdiff -kk -upr1.20 -r1.21 src/bin/ed/main.c


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97C02E19DE70D0
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 06:37:30 UTC

Modified files:
distrib/special: Makefile
Added files:
distrib/special/ed: Makefile

Log message:
bring back special ed

saves 9 bytes of PIC stuff already, will be more with -DSMALL rsn

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.23 -r1.24 src/distrib/special/Makefile
cvs -R rdiff -kk -upr1.3 -r1.4 src/distrib/special/ed/Makefile


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97BD901026EC9D
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 06:26:01 UTC

Modified files:
bin/ed : glbl.c re.c

Log message:
missed two

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.8 -r1.9 src/bin/ed/glbl.c
cvs -R rdiff -kk -upr1.3 -r1.4 src/bin/ed/re.c


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97BA273936E1D0
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 06:11:30 UTC

Modified files:
bin/ed : io.c main.c re.c

Log message:
not amused…

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.11 -r1.12 src/bin/ed/io.c
cvs -R rdiff -kk -upr1.19 -r1.20 src/bin/ed/main.c
cvs -R rdiff -kk -upr1.2 -r1.3 src/bin/ed/re.c


CVS: herc.mirbsd.org: src

2020-10-27 Thread Thorsten Glaser
Commit ID:  1005F97B61B391DB28A
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 05:54:19 UTC

Modified files:
bin/ed : buf.c ed.h glbl.c io.c main.c re.c sub.c

Log message:
some int → bool/{,s}size_t

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.9 -r1.10 src/bin/ed/buf.c
cvs -R rdiff -kk -upr1.15 -r1.16 src/bin/ed/ed.h
cvs -R rdiff -kk -upr1.7 -r1.8 src/bin/ed/glbl.c
cvs -R rdiff -kk -upr1.10 -r1.11 src/bin/ed/io.c
cvs -R rdiff -kk -upr1.18 -r1.19 src/bin/ed/main.c
cvs -R rdiff -kk -upr1.1.1.4 -r1.2 src/bin/ed/re.c
cvs -R rdiff -kk -upr1.2 -r1.3 src/bin/ed/sub.c


CVS: herc.mirbsd.org: src

2020-10-26 Thread Thorsten Glaser
Commit ID:  1005F97AE8E5FA035F0
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 05:22:07 UTC

Modified files:
bin/ed : ed.1

Log message:
it does not print ‘?\n’ but ‘?’ and a newline…

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.15 -r1.16 src/bin/ed/ed.1


CVS: herc.mirbsd.org: src

2020-10-26 Thread Thorsten Glaser
Commit ID:  1005F97AE30629E3F71
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 05:20:37 UTC

Modified files:
bin/ed : buf.c ed.1

Log message:
fixup tmpfile handling; make it use TMPDIR

thanks to ed(1)conference on Twitter for noticing

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.8 -r1.9 src/bin/ed/buf.c
cvs -R rdiff -kk -upr1.14 -r1.15 src/bin/ed/ed.1


CVS: herc.mirbsd.org: src

2020-10-26 Thread Thorsten Glaser
Commit ID:  1005F97A6624F49AD7D
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 04:47:09 UTC

Modified files:
bin/ed : buf.c ed.h io.c main.c

Log message:
make __CRAZY clean

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.7 -r1.8 src/bin/ed/buf.c
cvs -R rdiff -kk -upr1.14 -r1.15 src/bin/ed/ed.h
cvs -R rdiff -kk -upr1.9 -r1.10 src/bin/ed/io.c
cvs -R rdiff -kk -upr1.17 -r1.18 src/bin/ed/main.c


CVS: herc.mirbsd.org: src

2020-10-26 Thread Thorsten Glaser
Commit ID:  1005F97A442506CB454
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 04:38:06 UTC

Modified files:
bin/ed : Tag: 1.14 ed.h

Log message:
some consistency in indentation is welcome

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr0 -r1.14 src/bin/ed/ed.h


CVS: herc.mirbsd.org: src

2020-10-26 Thread Thorsten Glaser
Commit ID:  1005F97A3BD5D277A28
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 04:35:56 UTC

Modified files:
bin/ed : buf.c ed.h glbl.c io.c main.c sub.c

Log message:
rename a struct member to be able to search for it more easily

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.6 -r1.7 src/bin/ed/buf.c
cvs -R rdiff -kk -upr1.11 -r1.12 src/bin/ed/ed.h
cvs -R rdiff -kk -upr1.6 -r1.7 src/bin/ed/glbl.c
cvs -R rdiff -kk -upr1.8 -r1.9 src/bin/ed/io.c
cvs -R rdiff -kk -upr1.16 -r1.17 src/bin/ed/main.c
cvs -R rdiff -kk -upr1.1.1.3 -r1.2 src/bin/ed/sub.c


CVS: herc.mirbsd.org: src

2020-10-26 Thread Thorsten Glaser
Commit ID:  1005F978A8519B112D1
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 02:48:14 UTC

Modified files:
bin/ed : GNUmakefile Makefile README buf.c ed.1 glbl.c io.c
 main.c
bin/ed/test: README
Removed files:
bin/ed/test: i3.err nl.err s2.err

Log message:
fastmerge

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.9 -r1.10 src/bin/ed/GNUmakefile
cvs -R rdiff -kk -upr1.4 -r1.5 src/bin/ed/Makefile
cvs -R rdiff -kk -upr1.2 -r1.3 src/bin/ed/README
cvs -R rdiff -kk -upr1.5 -r1.6 src/bin/ed/buf.c
cvs -R rdiff -kk -upr1.11 -r1.12 src/bin/ed/ed.1
cvs -R rdiff -kk -upr1.5 -r1.6 src/bin/ed/glbl.c
cvs -R rdiff -kk -upr1.7 -r1.8 src/bin/ed/io.c
cvs -R rdiff -kk -upr1.15 -r1.16 src/bin/ed/main.c
cvs -R rdiff -kk -upr1.6 -r1.7 src/bin/ed/test/README
cvs -R rdiff -kk -upr1.1.1.1 -r0 src/bin/ed/test/i3.err
cvs -R rdiff -kk -upr1.1.1.1 -r0 src/bin/ed/test/nl.err
cvs -R rdiff -kk -upr1.1.1.1 -r0 src/bin/ed/test/s2.err


CVS: herc.mirbsd.org: src

2020-10-26 Thread Thorsten Glaser
Commit ID:  1005F9784201D13A82E
CVSROOT:/cvs
Module name:src
Changes by: t...@herc.mirbsd.org2020/10/27 02:21:29 UTC

Log message:
update ed(1) from OpenBSD

Status:

Vendor Tag: openbsd
Release Tags:   cvs-202010270200

To reduce mail sizes, imports only send out the log message
and tags; the (rather large) ChangeLog data can be found at
|   http://www.mirbsd.org/clogs/ChangeLog
Please remember that it can take some time to synchronise.


  1   2   3   4   5   6   7   8   9   10   >