git: tmpfs - Try to avoid a tmpfs node deadlock in rename

2020-06-20 Thread Matthew Dillon
commit 0d3f37f7d66f340896d5c41ed5fe8658aeae03f9 Author: Matthew Dillon Date: Sat Jun 20 11:26:05 2020 -0700 tmpfs - Try to avoid a tmpfs node deadlock in rename * Simultaneous renames of A -> DIR/B and DIR/C -> D can deadlock tmpfs due to an incorrect assumption. The

git: mountd - Turn on SO_REUSEADDR (2)

2020-06-20 Thread Matthew Dillon
commit 5abbd6f3a4c2db46186af86c42b24dbec803f04c Author: Matthew Dillon Date: Sat Jun 20 11:24:22 2020 -0700 mountd - Turn on SO_REUSEADDR (2) * After several years it turns out that just turning SO_REUSEADDR on can cause a duplicate port to be assigned when an anonymous

git: tail(1): Add -v flag to always print a header

2020-06-20 Thread Aaron LI
commit f038181408e47684b271228c89bece66119a4bdb Author: Aaron LI Date: Sat Jun 20 11:52:32 2020 +0800 tail(1): Add -v flag to always print a header * Add the '-v' flag to always print a header for each file, even if only a single file is specified. Obtained from NetBSD.

git: head(1): Minor cleanups

2020-06-20 Thread Aaron LI
commit e24ad2edd0ebb5d385531cc5778865b909a3b83a Author: Aaron LI Date: Fri Jun 19 13:13:39 2020 +0800 head(1): Minor cleanups * Add '__dead2' attribute to non-return function 'usage()'. * Move the 'first' out from the initializer part of the 'for' loop and change it to

git: head(1): Support '-q' and '-v' flags and improve man page

2020-06-20 Thread Aaron LI
commit f31df7b5941dbdc6e6bb5151595ec5f3fe75b0b9 Author: Aaron LI Date: Fri Jun 19 13:17:29 2020 +0800 head(1): Support '-q' and '-v' flags and improve man page * Support the '-q' flag to never print headers of each filename, and the '-v' flag to always print the headers,

git: tail(1): Implement tac(1) as the reverse version of cat(1)

2020-06-20 Thread Aaron LI
commit b743b76f8c2cc8315de7eac87507463cccaded9c Author: Aaron LI Date: Sat Jun 20 15:10:41 2020 +0800 tail(1): Implement tac(1) as the reverse version of cat(1) The tac(1) is the reverse version of cat(1) and is implemented with 'tail -rq'. Update cat.1, rev.1 and