Your message dated Mon, 18 Aug 2008 16:40:27 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#495553: bash's failglob option makes freecol print its
usage message
has caused the Debian Bug report #495553,
regarding bash's failglob option makes freecol print its usage message
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
495553: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495553
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: freecol
Version: 0.7.4.dfsg+1-1
Severity: important
For my primary user:
When started from the command line with no options, freecol just prints the
usage message to stderr and exits. Adding any option makes it work (tried
with --windowed, --splash, --no-sound).
This also happens when started from the window-manager's menu.
For a second user id on the same machine, it runs fine.
The difference is that the primary user's .bashrc includes
set failglob
if /usr/games/freecol is called with no arguments, this makes
the final line's "$@" expand to "failglob".
Steve
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages freecol depends on:
ii java-wrappers 0.1.6 wrappers for java executables
ii libhiglayout-java 1.0-4 An easy-to-use layout manager for
ii libwoodstox-java 1:3.9.2.dfsg-1 a high-performance XML processor
ii openjdk-6-jre 6b11-6 OpenJDK Java runtime, using Hotspo
freecol recommends no packages.
freecol suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hello for the last time,
On Mon, Aug 18, 2008 at 4:31 PM, Vincent Fourmond <[EMAIL PROTECTED]> wrote:
> For the record, set failglob is useless with bash. See:
>
> [EMAIL PROTECTED]:~$ set failglob
> [EMAIL PROTECTED]:~$ echo sdf*sdf
> sdf*sdf
>
> You should use
>
> shopt -s failglob
>
> This does not make freecol fail.
>
> However, $@ seems to contain the last argument to given set, for
> some reason that escapes me. I'm now sure that this is a bash bug.
This is no bug. From bash(1):
set [--abefhkmnptuvxBCHP] [-o option] [arg ...]
Without options, [...] Any arguments remaining after
the options are processed are treated as values
for the positional parameters and are assigned, in
order, to $1, $2, ... $n.
set failglob is the exact equivalent of setting $1 to failglob. I'm
not sure whether that should be inherited by subshells, or if it is
due to the fact that a /bin/bash shell script sources your .bashrc,
but in any case, this is the desired behaviour. Fix your .bashrc, I'm
closing this bug.
Cheers,
Vincent
--- End Message ---