Very minor bug in src/f-spot.in



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]