CVS: cvs.openbsd.org: src

2024-05-10 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/05/10 14:28:31 Modified files: bin/pax: options.c Log message: pax: make list file handle line-buffered unless it is stderr. This fixes a problem where the file list output was fully-buffered

Re: CVS: cvs.openbsd.org: src

2024-05-05 Thread Todd C . Miller
Argh, sorry. I'm not sure how that got missed. - todd

CVS: cvs.openbsd.org: src

2024-05-04 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/05/04 16:59:21 Modified files: usr.bin/awk: FIXES b.c lib.c main.c run.c tran.c Log message: Update awk to the May 4, 2024 version. Fixes a use-after-free bug with ARGV for "delete ARGV".

CVS: cvs.openbsd.org: src

2024-04-28 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/04/28 08:28:02 Modified files: lib/libc/stdio : fvwrite.c Log message: __sfvwrite: allow writing buffers larger than BUFSIZ or st_blksize. This can vastly improve write performance. For unbuffered

CVS: cvs.openbsd.org: src

2024-04-25 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/04/25 12:33:53 Modified files: usr.bin/awk: FIXES README.md b.c main.c run.c Log message: Update awk to the Apr 22, 2024 version. * fixed regex engine gototab reallocation issue that was

CVS: cvs.openbsd.org: src

2024-04-22 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/04/22 08:20:35 Modified files: usr.bin/newsyslog: newsyslog.c Log message: newsyslog: allow the F flag to be used on its own. Fixes a conditional that lacked a check for 'F' or 'f'. >From Alvar

CVS: cvs.openbsd.org: src

2024-04-12 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/04/12 08:10:28 Modified files: lib/libcurses/tinfo: read_entry.c Log message: Avoid snprintf() of NULL when _nc_get_source() returns NULL. The filename buffer is not actually used in this case but it

CVS: cvs.openbsd.org: src

2024-04-03 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/04/03 20:20:01 Modified files: lib/libc/time : localtime.c Log message: tzset_basic: only call issetugid(2) if TZ has changed If we are just going to return without parsing TZ, there is no need to

CVS: cvs.openbsd.org: src

2024-04-01 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/04/01 15:09:44 Modified files: libexec/spamd : spamd.c Log message: Advertise SMTPUTF8 and 8BITMIME extensions in EHLO. Fixes potential interoperability issues when the real MTA supports those

CVS: cvs.openbsd.org: www

2024-03-31 Thread Todd C . Miller
CVSROOT:/cvs Module name:www Changes by: mill...@cvs.openbsd.org 2024/03/31 08:19:22 Modified files: . : mail.html Log message: Update the text about attachments to the current reality. Also expand the off-topic warnings.

CVS: cvs.openbsd.org: src

2024-03-28 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/28 19:16:30 Modified files: usr.bin/mandoc : main.c Log message: Back out tzset(3) change, it is not effective.

CVS: cvs.openbsd.org: src

2024-03-28 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/28 19:01:00 Modified files: usr.bin/mandoc : main.c Log message: Call tzset() in main() so we don't need to check TZ repeatedly. This has the greatest impact on makewhatis, which used to make

CVS: cvs.openbsd.org: src

2024-03-27 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/27 08:44:52 Modified files: bin/ls : print.c Log message: printtime: use the Unix epoch if the file's timestamp is invalid Fixes a crash in "ls -l" for files with bogus timestamp values. OK

CVS: cvs.openbsd.org: src

2024-03-25 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/25 09:52:39 Modified files: usr.bin/whois : whois.c Log message: whois: use getline(3) instead of fgetln(3) This simplifies the code and fixes a potential out of bounds read. OK op@ mbuhl@

CVS: cvs.openbsd.org: src

2024-03-24 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/24 13:51:47 Modified files: usr.bin/whois : whois.1 whois.c Log message: whois: remove obsolete handle support Contact handles have been obsolete for some time now. The "!handle" InterNic syntax

CVS: cvs.openbsd.org: src

2024-03-15 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/15 20:00:31 Modified files: usr.bin/whois : whois.1 whois.c Log message: whois: trim output after ">>> Last update of WHOIS database:" Currently, whois(1) displays the full output it receives from

CVS: cvs.openbsd.org: src

2024-03-05 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/05 09:06:32 Modified files: usr.bin/whois : whois.1 whois.c Log message: whois: use whois.internic.net for -i option Revert revision 1.22 which changed -i to use whois.networksolutions.com. Network

CVS: cvs.openbsd.org: src

2024-03-03 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/03 08:24:46 Modified files: usr.bin/mktemp : mktemp.1 Log message: Clarify which part of the path name is considered for substitution. Also use "name" instead of "file name" is some places since the

CVS: cvs.openbsd.org: src

2024-03-01 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/01 16:37:42 Modified files: usr.bin/mktemp : mktemp.1 Log message: Clarify behavior when there is more than one run of Xs. With help from miod@

CVS: cvs.openbsd.org: src

2024-03-01 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/01 14:50:40 Modified files: usr.bin/mktemp : mktemp.1 mktemp.c Log message: mktemp(1): add suffix support for compatibility with the GNU version It is now possible to use templates where the Xs are

CVS: cvs.openbsd.org: src

2024-03-01 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/03/01 14:30:40 Modified files: include: stdlib.h lib/libc : Symbols.list shlib_version lib/libc/hidden: stdlib.h lib/libc/stdlib: mkdtemp.c mktemp.3 Log

CVS: cvs.openbsd.org: src

2024-02-07 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/02/07 14:24:58 Modified files: share/zoneinfo : Makefile Added files: share/zoneinfo/datfiles: zonenow.tab Log message: Add and install the zonenow.tab file. This is a table where each row

CVS: cvs.openbsd.org: src

2024-02-05 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/02/05 10:07:23 Modified files: share/zoneinfo : leapseconds.awk zishrink.awk share/zoneinfo/datfiles: africa asia australasia etcetera europe leap-seconds.list

CVS: cvs.openbsd.org: src

2024-02-02 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/02/02 13:54:27 Modified files: usr.sbin/smtpd : parse.y Log message: Run lmtp deliveries as the recipient user, not SMTPD_USER (_smtpd). This is a backout of revision 1.278. Delivery via lmtp is not

CVS: cvs.openbsd.org: src

2024-01-25 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/01/25 09:40:51 Modified files: usr.bin/awk: FIXES b.c main.c run.c Log message: Update awk to the Jan 22, 2024 version.

CVS: cvs.openbsd.org: src

2024-01-23 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/01/23 15:28:20 Modified files: share/termtypes: termcap.5 Log message: The 1023-byte entry limit is historical, as is the vi(1) limitation. We ship nvi, not classic vi, so that parst is not relevant.

CVS: cvs.openbsd.org: src

2024-01-19 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/01/19 12:45:02 Modified files: lib/libc/hidden: stdlib.h lib/libc/stdlib: Makefile.inc mktemp.c Added files: lib/libc/stdlib: __mktemp4.c mkdtemp.c mkstemp.c Log message: Make our

CVS: cvs.openbsd.org: src

2024-01-19 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/01/19 09:30:28 Modified files: lib/libc/stdio : Makefile.inc lib/libc/stdlib: Makefile.inc Added files: lib/libc/stdlib: mktemp.3 mktemp.c Removed files: lib/libc/stdio :

Re: CVS: cvs.openbsd.org: src

2023-12-23 Thread Todd C . Miller
On Sat, 23 Dec 2023 09:05:54 +0100, Anton Lindqvist wrote: > On Fri, Dec 22, 2023 at 10:12:13AM -0700, Todd C. Miller wrote: > > CVSROOT:/cvs > > Module name:src > > Changes by: mill...@cvs.openbsd.org 2023/12/22 10:12:13 > > > > Modified files: >

CVS: cvs.openbsd.org: src

2023-12-23 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/12/23 08:58:58 Modified files: usr.bin/xargs : xargs.c Log message: Suppress a spurious empty arg at EOF w/ "find -0" caused by the last commit.

CVS: cvs.openbsd.org: src

2023-12-22 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/12/22 10:12:13 Modified files: regress/usr.bin/xargs: xargs-L.sh usr.bin/xargs : xargs.c Log message: xargs: fix parsing of empty fields when "xargs -0" is used. Previously, these fields

CVS: cvs.openbsd.org: www

2023-12-20 Thread Todd C . Miller
CVSROOT:/cvs Module name:www Changes by: mill...@cvs.openbsd.org 2023/12/20 10:30:01 Modified files: openssh: openbsd.html Log message: Correct the links in the 9.6 section. Reported by Christos Zoulas.

CVS: cvs.openbsd.org: xenocara

2023-12-19 Thread Todd C . Miller
CVSROOT:/cvs Module name:xenocara Changes by: mill...@cvs.openbsd.org 2023/12/19 13:31:21 Modified files: app/xterm : Makefile Log message: Substitute "100" for __default_termid__ instead of "vt100". The "vt" prefix is optional for the default terminal ID. Fixes an

CVS: cvs.openbsd.org: src

2023-12-01 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/12/01 09:49:16 Added files: regress/usr.sbin/relayd: args-http-chunked-invalid.pl args-http-contentlength-get.pl

CVS: cvs.openbsd.org: src

2023-12-01 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/12/01 09:48:40 Modified files: usr.sbin/relayd: relay_http.c Log message: relay_read_http: strip out Content-Length if we strip the body too We should not forward Content-Length if the body is not

CVS: cvs.openbsd.org: src

2023-11-29 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/29 08:35:07 Modified files: usr.sbin/relayd: relay_http.c Log message: relay_read_http: defer header parsing until after line continuation Wait until we have a complete line before parsing the

CVS: cvs.openbsd.org: src

2023-11-28 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/28 13:54:38 Modified files: usr.bin/awk: FIXES README.md lib.c main.c run.c Log message: Update awk to the Nov 27, 2023 version.

CVS: cvs.openbsd.org: src

2023-11-28 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/28 11:36:55 Modified files: usr.sbin/relayd: relay_http.c Log message: relay_read_http: tighten up header parsing 1) reject headers with embedded NULs 2) reject headers with invalid characters in

CVS: cvs.openbsd.org: src

2023-11-25 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/25 09:31:33 Modified files: usr.bin/awk: FIXES awk.h b.c lex.c main.c run.c Log message: Update awk to the Nov 24, 2023 version.

CVS: cvs.openbsd.org: src

2023-11-21 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/21 18:01:21 Modified files: usr.bin/awk: FIXES b.c main.c maketab.c proto.h run.c Log message: Update awk to the Nov 20, 2023 version. This includes a rewrite of the fnematch() function as well

CVS: cvs.openbsd.org: src

2023-11-17 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/17 14:54:20 Modified files: share/zoneinfo : Makefile Log message: Use "mv -f" when moving the output file into place in the obj dir.

CVS: cvs.openbsd.org: src

2023-11-17 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/17 14:51:37 Modified files: share/zoneinfo : Makefile Added files: share/zoneinfo : leapseconds.awk version ziguard.awk zishrink.awk

CVS: cvs.openbsd.org: src

2023-11-16 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/16 09:05:13 Modified files: etc/skel : dot.login Log message: Use tset -I for all terminals, not just xterm. Terminal initialization is usually only needed for hardware terminals, which are

CVS: cvs.openbsd.org: src

2023-11-16 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/16 09:03:51 Modified files: etc/root : dot.login dot.profile Log message: Use tset -I for all terminals, not just xterm. Terminal initialization is usually only needed for hardware terminals,

CVS: cvs.openbsd.org: src

2023-11-15 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/15 11:56:53 Modified files: usr.bin/awk: b.c Log message: fnematch: fix a bug that could result in extra chars being pushed back. >From Arnold Robbins.

CVS: cvs.openbsd.org: src

2023-11-15 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/15 11:48:13 Modified files: usr.bin/awk: b.c Log message: fnematch: fix out-of-bounds access on EOF fnematch() expects to store a NUL byte when EOF is encountered. However, the rewrite broke

CVS: cvs.openbsd.org: src

2023-11-14 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/14 17:52:42 Modified files: regress/usr.bin/grep: Makefile Added files: regress/usr.bin/grep: t28.in Log message: Add regress test for "grep -m" behavior. From Crystal Kolipe.

CVS: cvs.openbsd.org: src

2023-11-14 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/14 17:50:43 Modified files: usr.bin/grep : grep.1 util.c Log message: procline: only reduce mcount once per line, not once per match. This makes "grep -m" behave like GNU grep (where the -m option

CVS: cvs.openbsd.org: src

2023-11-08 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/11/08 12:19:10 Modified files: usr.sbin/httpd : httpd.h server.c server_fcgi.c Log message: Avoid a NULL dereference when handling a malformed fastcgi request. Rework the hack to avoid a

CVS: cvs.openbsd.org: src

2023-10-29 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/10/29 08:26:13 Modified files: lib/libc/include: namespace.h Log message: Enable ISO C11 APIs when building libc, even with an older compiler. Otherwise, the prototypes for timespec_get() and

CVS: cvs.openbsd.org: src

2023-10-29 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/10/29 08:23:04 Modified files: sbin/ifconfig : ifconfig.c Log message: Use clock_gettime(), not timespec_get() like other parts of ifconfig. This makes is possible to build the base system with a C99

CVS: cvs.openbsd.org: src

2023-10-28 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/10/28 16:38:22 Modified files: usr.bin/awk: run.c Log message: substr: fix buffer overflow with utf-8 strings We need to use u8_strlen(), not strlen(), to compute the length. Otherwise, there may

CVS: cvs.openbsd.org: src

2023-10-27 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/10/27 18:25:19 Modified files: gnu/usr.bin/gcc/gcc: c-opts.c gnu/usr.bin/gcc/gcc/doc: cppopts.texi invoke.texi gnu/gcc/gcc: c-opts.c gnu/gcc/gcc/doc: cppopts.texi gcc.1

CVS: cvs.openbsd.org: src

2023-10-26 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/10/26 12:46:42 Modified files: gnu/usr.bin/gcc/gcc/doc: cppopts.texi Log message: Fix a typo spotted by miod@.

CVS: cvs.openbsd.org: src

2023-10-26 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/10/26 11:33:35 Modified files: gnu/usr.bin/gcc/gcc: c-opts.c gnu/usr.bin/gcc/gcc/doc: cppopts.texi invoke.texi gnu/gcc/gcc: c-opts.c gnu/gcc/gcc/doc: cppopts.texi gcc.1

CVS: cvs.openbsd.org: src

2023-10-09 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/10/09 14:55:33 Modified files: usr.sbin/smtpd : smtp_session.c Log message: Add Message-Id as needed for messages received on the submission port. Since listener->port is in network byte order we need

CVS: cvs.openbsd.org: src

2023-10-06 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/10/06 16:31:21 Modified files: usr.bin/awk: b.c Log message: Correctly reset the goto table for a state. We cannot use set_gototab() to reset all the entries for a state, it will leave existing

CVS: cvs.openbsd.org: src

2023-10-06 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/10/06 16:29:24 Modified files: usr.bin/awk: FIXES b.c lib.c main.c run.c Log message: Update awk to Sep 24, 2023 version. fnematch and getrune have been overhauled to solve issues around unicode

CVS: cvs.openbsd.org: src

2023-10-06 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/10/06 10:41:02 Modified files: lib/libc/stdio : fvwrite.c putc.c vfprintf.c vfwprintf.c wbuf.c wsetup.c Log message: __swsetup: set error flag and errno on error. Previously,

CVS: cvs.openbsd.org: src

2023-09-27 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/09/27 15:06:33 Modified files: usr.bin/deroff : deroff.c Log message: Use a dynamically-allocated line buffer and resize as needed. Fixes a buffer overflow for lines over 2048 bytes. Problem reported

Re: CVS: cvs.openbsd.org: src

2023-09-21 Thread Todd C . Miller
On Thu, 21 Sep 2023 11:19:06 -0600, Todd C. Miller wrote: > CVSROOT: /cvs > Module name: src > Changes by: mill...@cvs.openbsd.org 2023/09/21 11:19:06 > > Modified files: > usr.bin/awk: b.c > > Log message: > Fix a potential out-of-bounds read c

CVS: cvs.openbsd.org: src

2023-09-21 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/09/21 11:19:06 Modified files: usr.bin/awk: b.c Log message: Fix a potential out-of-bounds read caused by the big-endian fix. We must store a UTF-32 empty string, not UTF-8 empty string, for an

CVS: cvs.openbsd.org: src

2023-09-20 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/09/20 10:57:12 Modified files: usr.bin/awk: main.c Log message: Support --version option like upstream awk but don't document it. Upstream awk has supported --version for a long time but does not

CVS: cvs.openbsd.org: src

2023-09-20 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/09/20 10:49:13 Modified files: usr.bin/awk: run.c Log message: Use awk_mb_cur_max in nawk_convert() instead of MB_CUR_MAX.

CVS: cvs.openbsd.org: src

2023-09-18 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/09/18 19:14:05 Modified files: usr.bin/awk: b.c Log message: Compare int value against 0, not '\0', for consistency.

CVS: cvs.openbsd.org: src

2023-09-18 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/09/18 17:33:21 Modified files: usr.bin/awk: b.c Log message: Fix a bad cast to char * that causes incorrect results on big endian. Now that awk stores chars as int we need to cast the Node * to

CVS: cvs.openbsd.org: src

2023-09-18 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/09/18 13:32:20 Modified files: usr.bin/awk: awk.h b.c main.c run.c Log message: Disable utf-8 for non-multibyte locales, such as C or POSIX. This makes it possible to get the old awk behavior

CVS: cvs.openbsd.org: src

2023-09-17 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/09/17 08:49:44 Modified files: usr.bin/awk: FIXES README.md awk.1 awk.h b.c lex.c lib.c main.c proto.h run.c tran.c Added files: usr.bin/awk: FIXES.1e LICENSE

CVS: cvs.openbsd.org: src

2023-09-10 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/09/10 08:59:00 Modified files: usr.bin/awk: FIXES awkgram.y lex.c lib.c main.c parse.c proto.h Log message: Update awk to Sep 6, 2023 version.

CVS: cvs.openbsd.org: src

2023-09-09 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/09/09 12:59:44 Modified files: usr.bin/awk: FIXES lex.c main.c Log message: Update awk to Dec 15, 2022 version. Force hex escapes in strings to be no more than two characters, as they already are

CVS: cvs.openbsd.org: src

2023-07-19 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/07/19 15:26:03 Modified files: usr.sbin/cron : entry.c Log message: Fix skipping of white space after the username in /etc/crontab. Only a single white space character was consumed, we should be

CVS: cvs.openbsd.org: src

2023-07-13 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/07/13 14:33:30 Modified files: sys/lib/libkern: bcmp.c Log message: bcmp(3) tries to return length, which is a size_t, as an int. Instead, just return 1 if there is a difference, else 0. Fixed by ray@

CVS: cvs.openbsd.org: src

2023-06-26 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/26 12:00:59 Modified files: bin/pax: cpio.c tar.c Log message: pax: truncate times to MAX_TIME_T, not INT_MAX If the mtime in the file header is larger than MAX_TIME_T, trucate it to

CVS: cvs.openbsd.org: src

2023-06-26 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/26 10:58:50 Modified files: bin/pax: tty_subs.c Log message: pax: use safe_print() to display messages which may include file names. Reported by David Leadbeater. OK op@

CVS: cvs.openbsd.org: src

2023-06-23 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/23 09:06:46 Modified files: usr.bin/vi/ex : ex.c ex_subst.c Log message: Fix a bug in ex's 's' command with the 'c' flag when 'number' is off. The underlining was positioned in the wrong place.

CVS: cvs.openbsd.org: src

2023-06-21 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/21 16:22:08 Modified files: bin/ksh: edit.c edit.h emacs.c exec.c sh.h Log message: ksh: escape control chars when displaying file name completions. If there are multiple matches when using

CVS: cvs.openbsd.org: src

2023-06-13 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/13 15:10:41 Modified files: usr.bin/seq: seq.c Log message: Remove debug info inadvertantly left in the last commit.

CVS: cvs.openbsd.org: src

2023-06-13 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/13 09:36:21 Modified files: usr.sbin/cron : entry.c Log message: Upstream fixes for @yearly, @monthly, @weekly, @daily and @hourly. The bit_nset() macro was being called with the high value one too

CVS: cvs.openbsd.org: src

2023-06-12 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/12 14:19:45 Modified files: regress/usr.bin: Makefile Added files: regress/usr.bin/seq: Makefile seqtest.expected seqtest.sh Log message: Simple seq(1) regress. More tests are needed.

CVS: cvs.openbsd.org: src

2023-06-12 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/12 14:19:14 src/regress/usr.bin/seq Update of /cvs/src/regress/usr.bin/seq In directory cvs.openbsd.org:/tmp/cvs-serv998/seq Log Message: Directory /cvs/src/regress/usr.bin/seq added to the repository

CVS: cvs.openbsd.org: src

2023-06-12 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/12 14:15:06 Modified files: usr.bin/seq: seq.c Log message: seq: fix check for rounding error/truncation We need to compare the printable version of the last value displayed, not the floating

CVS: cvs.openbsd.org: src

2023-06-05 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/05 07:24:36 Modified files: usr.bin/ssh: channels.c channels.h servconf.c Log message: Store timeouts as int, not u_int as they are limited to INT_MAX. Fixes sign compare warnings systems with

CVS: cvs.openbsd.org: src

2023-06-04 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/06/04 11:27:27 Modified files: usr.sbin/cron : entry.c Log message: Correct the comment in get_range() describing the range syntax.

CVS: cvs.openbsd.org: www

2023-05-26 Thread Todd C . Miller
CVSROOT:/cvs Module name:www Changes by: mill...@cvs.openbsd.org 2023/05/26 07:27:18 Modified files: . : anoncvs.html build : mirrors.dat Log message: Point anoncvs2.usa and anoncvs3.usa to anoncvs1.usa

CVS: cvs.openbsd.org: www

2023-05-25 Thread Todd C . Miller
CVSROOT:/cvs Module name:www Changes by: mill...@cvs.openbsd.org 2023/05/25 16:43:48 Modified files: . : ftp.html ftplist httpslist build : mirrors.dat openbgpd : ftp.html openntpd : portable.html

CVS: cvs.openbsd.org: src

2023-05-24 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/05/24 08:20:33 Modified files: bin/ksh: eval.c Log message: ksh: make $(< filename) error output include the errno string. This is more consistent with how bash, zsh and ksh93 behave and makes

CVS: cvs.openbsd.org: src

2023-05-18 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/05/18 12:29:28 Modified files: usr.sbin/user : user.c Log message: user: handle paths with whitespace / metacharacters Use execv(3) instead of system(3) to run external commands. This avoids problems

CVS: cvs.openbsd.org: src

2023-05-16 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/05/16 15:28:46 Modified files: usr.sbin/user : user.c Log message: useradd: use "cp" instead of "pax" to copy dot files There are some minor semantic differences but nothing that should affect files

CVS: cvs.openbsd.org: src

2023-05-15 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/05/15 11:00:24 Modified files: usr.sbin/user : user.c Log message: user: simplify memsave() to strsave() All callers of memsave() pass strlen(s) as the size argument. We can eliminate the size

CVS: cvs.openbsd.org: src

2023-05-08 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/05/08 09:18:31 Modified files: usr.sbin/cron : entry.c Log message: cron: bounds check the high and low bounds for in a random range. The bounds are checked for normal ranges in set_element() but in

CVS: cvs.openbsd.org: src

2023-05-07 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/05/07 07:43:13 Modified files: usr.sbin/cron : entry.c Log message: cron: check for garbage after the '~' in a random range. A bug in the parsing of the optional number after the '~' in a random range

CVS: cvs.openbsd.org: src

2023-05-06 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/05/06 17:06:27 Modified files: usr.sbin/cron : crontab.5 entry.c macros.h Log message: Support random offsets when using ranges with a step value in cron. This extends the random range syntax to

CVS: cvs.openbsd.org: src

2023-05-05 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/05/05 07:50:40 Modified files: usr.sbin/cron : crontab.c Log message: crontab: move spool temp file creation to spool_mkstemp() This fixes a bug introduced in rev 1.86 where if the second seteuid()

Re: CVS: cvs.openbsd.org: src

2023-04-27 Thread Todd C . Miller
On Thu, 27 Apr 2023 15:40:10 +0100, Greg Steuck wrote: > Neither of them seems to have the magic define, unlike the 13 > unobviously chosen places in /usr/include which have: > > #ifndef _SIZE_T_DEFINED_ > #define _SIZE_T_DEFINED_ > typedef __size_t size_t; > #endif > > Should I replicate

CVS: cvs.openbsd.org: src

2023-04-13 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/04/13 13:57:30 Modified files: libexec/ld.so : resolve.c Log message: Avoid an overflow in the ELF SYSV ABI hash function. The hash function is supposed to return a value less than or equal to

CVS: cvs.openbsd.org: src

2023-04-03 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/04/03 07:38:18 Modified files: sys/dev/acpi : acpibtn.c Log message: acpibtn_notify: ignore duplicate ACPI lid transitions A Dell Precision 5510 produces two _LID events when the lid is closed. This

CVS: cvs.openbsd.org: src

2023-03-28 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/03/28 17:07:46 Modified files: share/zoneinfo/datfiles: asia Log message: Apply changes from tzdata2023c. This reverts the controversial Lebanon DST change which led to a partly-sectarian divide within

CVS: cvs.openbsd.org: src

2023-03-23 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/03/23 12:57:10 Modified files: share/zoneinfo/datfiles: asia Log message: This year Lebanon springs forward April 20/21 not March 25/26. This change is not yet part of an iana-tz or global-tz release.

CVS: cvs.openbsd.org: src

2023-03-19 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/03/19 10:43:44 Modified files: usr.sbin/smtpd : mda_variables.c Log message: mda_expand_format: simplify token name extraction for %{name} It is simpler to compute the length based on the start and end

CVS: cvs.openbsd.org: src

2023-03-18 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2023/03/18 19:43:11 Modified files: usr.sbin/smtpd : mda_variables.c Log message: Fix a potential NULL dereference in the unpriv child expanding %{mda}. It is not legal to use %{mda} in anything but an mda

  1   2   3   4   5   6   7   8   9   10   >