Subject: bin/3557: boggle uses the wrong word list
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 04/29/1997 19:05:54
>Number: 3557
>Category: bin
>Synopsis: boggle uses the wrong word list
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 29 17:20:02 1997
>Last-Modified:
>Originator: Dave Huang
>Organization:
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@bga.com | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 21 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release: NetBSD-current as of April 28, 1997
>Environment:
System: NetBSD dahan.metonymy.com 1.2D NetBSD 1.2D (SPIFF) #37: Wed Apr 16 01:15:57 CDT 1997 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SPIFF i386
>Description:
The Makefile for boggle uses the "web2a" wordlist, which contains
multi-word "words", i.e. ones with spaces or hyphens. Since boggle's
mkdict program filters out all words that are not completely made up
of lowercase letters, it ends up filtering out the whole list. Boggle
should be using the "web2" wordlist instead.
>How-To-Repeat:
Try to run boggle and watch it complain:
Loading the dictionary...
Error reading dictionary
boggle: can't load /usr/share/games/boggle/dictionary
Then notice the zero-length dictionary file.
>Fix:
--- /usr/src/games/boggle/Makefile Wed Apr 2 06:10:54 1997
+++ Makefile Sun Apr 6 13:55:28 1997
@@ -9,7 +9,7 @@
MKINDEX!=cd $(.CURDIR)/mkindex; \
printf "xxx:\n\techo \$${.OBJDIR}/mkindex\n" | \
${MAKE} -r -s -f - xxx | grep mkindex
-WORDS=${.CURDIR}/../../share/dict/web2a
+WORDS=${.CURDIR}/../../share/dict/web2
FILES=dictionary dictindex
FILESDIR=/usr/share/games/boggle
CLEANFILES+=${FILES}
>Audit-Trail:
>Unformatted: