diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-01-18 17:49:52 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-01-18 17:49:52 +0000 |
commit | fd195763a509f35d44781e1d3a886e7d7b548b3d (patch) | |
tree | f6f07bda1ef9975c2a2bc0f6574350c97024c386 /usr.bin/skey | |
parent | 1d2bf3c06fb24ab6e3c6d60346f8d9e6359384fc (diff) |
* add an extra argument to the dir lookup functions to say whether we
should look in the current directory.
* refactor include files treatment to have a separate function to look
for an include.
* use both pieces to make sure system includes do not get looked up
in the current directory unless everything else fails.
This is != from the netbsd solution to the same problem, which stuffs
`magic' entries into filepaths to say whether dot should be looked at
first or last.
feature requested by matthieu@.
okay matthieu@
Diffstat (limited to 'usr.bin/skey')
0 files changed, 0 insertions, 0 deletions