Re: Very minor bug in src/f-spot.in
- From: Stephane Delcroix <stephane delcroix org>
- To: Martin Schwenke <martin meltin net>
- Cc: f-spot-list gnome org
- Subject: Re: Very minor bug in src/f-spot.in
- Date: Tue, 13 May 2008 09:05:44 +0200
am sorry I don't get it.
both
f-spot -view "foo --shutdown bar.jpg"
and
f-spot -view foo\ --shutdown\ bar.jpg
works fine (with an image file named "foo --shutdown bar.jpg")
s
On Sat, 2008-05-10 at 18:02 +1000, Martin Schwenke wrote:
> src/f-spot.in contains the following line:
>
> for arg in $*; do
>
> This will break arguments on whitespace, so in the very unlikely case
> that someone passes a filename like "foo --profile=bar.jpg" then the
> wrong thing will happen.
>
> This can be easily fixed by changing it to:
>
> for arg in "$@"; do
>
> which processes the arguments as expected, or just:
>
> for arg; do
>
> which is an abbrevisation for the same thing.
>
> I said it was very minor... :-)
>
> ... but it might as well be fixed...
>
> peace & happiness,
> martin
>
> _______________________________________________
> F-spot-list mailing list
> F-spot-list gnome org
> http://mail.gnome.org/mailman/listinfo/f-spot-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]