Don't run off the end of path if it ends in /.
authorflorian <florian@openbsd.org>
Wed, 12 Jul 2023 15:45:34 +0000 (15:45 +0000)
committerflorian <florian@openbsd.org>
Wed, 12 Jul 2023 15:45:34 +0000 (15:45 +0000)
commitf344f57b431a3f713873cd19bf346f494ac561db
treecbd736809cb25102b09b52c88470eba8a65e630b
parentce198a4ac75aa517e9553db3ab18b8df8947c0a0
Don't run off the end of path if it ends in /.
OK op, sthen
usr.bin/patch/pch.c