NetBSD Problem Report #3557

Received: (qmail-queue invoked from smtpd); 30 Apr 1997 00:06:29 -0000
Message-Id: <199704300005.TAA06296@dahan.metonymy.com>
Date: Tue, 29 Apr 1997 19:05:54 -0500 (CDT)
From: Dave Huang <khym@bga.com>
Reply-To: khym@bga.com
To: gnats-bugs@gnats.netbsd.org
Subject: boggle uses the wrong word list
X-Send-Pr-Version: 3.95

>Number:         3557
>Category:       bin
>Synopsis:       boggle uses the wrong word list
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 17:20:02 +0000 1997
>Closed-Date:    Wed Apr 30 20:09:08 +0000 1997
>Last-Modified:  Wed Apr 30 20:09:55 +0000 1997
>Originator:     Dave Huang
>Release:        NetBSD-current as of April 28, 1997
>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++
>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}

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: christos 
State-Changed-When: Wed Apr 30 16:09:08 EDT 1997 
State-Changed-Why:  
fixed 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.