diff options
author | rsc <devnull@localhost> | 2004-04-02 15:34:42 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-02 15:34:42 +0000 |
commit | 85117729d01e8f911beef396040eb2e739e5cc65 (patch) | |
tree | 397ac426ad85aed494cb866905c163d4f32135f7 /src/cmd/dict | |
parent | 6fe3e9303281a88062ac8dc0574cc8f425eb80c0 (diff) | |
download | plan9port-85117729d01e8f911beef396040eb2e739e5cc65.tar.gz plan9port-85117729d01e8f911beef396040eb2e739e5cc65.tar.bz2 plan9port-85117729d01e8f911beef396040eb2e739e5cc65.zip |
Add some missing unsharps.
Diffstat (limited to 'src/cmd/dict')
-rw-r--r-- | src/cmd/dict/dict.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/dict/dict.c b/src/cmd/dict/dict.c index a3ddd890..4526648e 100644 --- a/src/cmd/dict/dict.c +++ b/src/cmd/dict/dict.c @@ -68,7 +68,7 @@ main(int argc, char **argv) dict = 0; for(i=0; dicts[i].name; i++){ - if(access(dicts[i].path, 0)>=0 && access(dicts[i].indexpath, 0)>=0){ + if(access(unsharp(dicts[i].path), 0)>=0 && access(unsharp(dicts[i].indexpath), 0)>=0){ dict = &dicts[i]; break; } @@ -171,7 +171,7 @@ usage(void) Bprint(bout, "dictionaries (brackets mark dictionaries not present on this system):\n"); for(i = 0; dicts[i].name; i++){ a = b = ""; - if(access(dicts[i].path, 0)<0 || access(dicts[i].indexpath, 0)<0){ + if(access(unsharp(dicts[i].path), 0)<0 || access(unsharp(dicts[i].indexpath), 0)<0){ a = "["; b = "]"; } |