NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60357 CVS commit: src/usr.bin



The following reply was made to PR bin/60357; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60357 CVS commit: src/usr.bin
Date: Tue, 23 Jun 2026 17:57:14 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Tue Jun 23 17:57:14 UTC 2026
 
 Modified Files:
 	src/usr.bin/diff: pr.c pr.h
 	src/usr.bin/diff3: diff3.c
 
 Log Message:
 diff3(1): Just use waitpid(2), no need for kevent(2).
 
 Sidesteps
 
 PR kern/60358: kevent EVFILT_PROC races with process exit
 
 in order to fix
 
 PR bin/60357: diff3(1): tests are failing since BSD diff import
 
 The FreeBSD version used kevent(2) until February of this year:
 https://cgit.freebsd.org/src/commit/?id=404753664a5e145d98f1749d1c7bc046c8aa32c3
 So this reduces diff from FreeBSD somewhat, except FreeBSD uses
 capsicum and process fds rather than pids.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 src/usr.bin/diff/pr.c src/usr.bin/diff/pr.h
 cvs rdiff -u -r1.1 -r1.2 src/usr.bin/diff3/diff3.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index