Subject: Re: pkg/36257 (games/wesnoth has msgfmt problems (plurals) [NetBSD 3.0])
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: OBATA Akio <obache@netbsd.org>
List: pkgsrc-bugs
Date: 05/10/2007 15:55:02
The following reply was made to PR pkg/36257; it has been noted by GNATS.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/36257 (games/wesnoth has msgfmt problems (plurals) [NetBSD 3.0])
Date: Fri, 11 May 2007 00:50:00 +0900

 On Thu, 10 May 2007 01:10:04 +0900, Robert Elz <kre@munnari.OZ.AU> wrote:
 
 > First, it is never really safe with test to use an unknown string
 >  variable unprotected in a = or != comparison.
 > That is, in a test like
 > 	if test "$pofile" != "-"
 > if the value of $pofile just happens to be "-e" or something like
 >  that, bad things happen (ie: nothing works the way you want, and
 >  usually the result is a bunch of strange error messages.)
 
 No, see above lines in script.  "-e" is never assigned to $pofile.