Bug #1606
closedhack(6): fix old mis-merge
0%
Description
hack(6): fix very old mis-merge by restoring code from OpenBSD
If you look at the CVS history for this file, you will see that
the code in question tried to find the provided name in the path, not
just a fixed location (that could be coded more easily).
Restore the OpenBSD version of this code, which was cleaned up, already
Files
Updated by uqs about 15 years ago
Updated by dillon about 15 years ago
:Ulrich Spoerlein <uqs@spoerlein.net> added the comment:
:
:See=20
:http://gitweb.dragonflybsd.org/~uqs/games.git/commit/c91833b608a45e8bca8bd9=
:85725ce3bfa716466a
:
:hth
:
:----------
:status: unread -> chatting
This is going to wind up finding /usr/games/hack instead of
/usr/games/hide/hack, however, when we want it to find
/usr/games/hide/hack. /usr/games/hide is not in the path.
The only use case is to locate the actual game binary
and stat it to determine if the saved game is out of date
relative to the binary.
-Matt
Matthew Dillon
<dillon@backplane.com>
Updated by uqs about 15 years ago
Good catch Matt,
thing is that I want to remove dm(6) altogether, just like OpenBSD did. The
patch worked for FreeBSD as no dm(6) is used there either.
I will come up with a better solution.
Updated by tuxillo over 14 years ago
Hi,
Any update on this?
Cheers,
Antonio Huete
Updated by uqs over 14 years ago
When/If I get around to finishing the NetBSD/OpenBSD sync, I will revisit. This
issue can be closed for now, as it doesn't apply.