CVS commit: src/usr.bin
"Taylor R Campbell" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
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.