You are right, the bug is fixed upstream. I have manually downloaded
gvfs-bin_1.34.1-1ubuntu1_amd64.deb and checked the file: it includes the
fix.

However it is not fixed on my computer. And I do not know why.

Unfortunately I have not found the package in /var/cache/apt/archives,
then I am not sure if the .deb installed on my computer is the same.

I have never tampered with my installation. This is a fresh install of
Artful Beta1 updated once a day with "apt dist-upgrade". I dont know
what has happened.

Regarding the use of "$@:2", there is no error displayed because:

1. "$@:2" is valid syntax in both shells, but it is clearly a bug
because it is expanded to "$1" "$2" ... ":2", which does not make sense.
I think that in bash it should have been "${@:2}" (2 is an offset),
while in dash the syntax is not supported and you should use "shift"
instead. You can check it by running:

    $ echo 'echo "$@:2"; echo "${@:2}"' | bash -s foo bar
    foo bar:2
    bar

    $ echo 'echo "$@:2"; echo "${@:2}"' | dash -s foo bar
    foo bar:2
    dash: 1: Bad substitution

2. "gio help info" discards all parameters after "info", then for
example "gio help info :2" is equivalent to "gio help info".

In short: I think you can safely remove "$@:2".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1721719

Title:
  gvfs-info bashism

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1721719/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to