Pádraig Brady <[email protected]> writes:
> Jari Aalto wrote:
>
>> Package: fslint
>> Version: 2.40-2
>> Severity: normal
>> Tags: patch
>>
>>
>> The options are not removed, so they got passed to find(1) call.
>> The following patch fixes this. Correction is against SVN 238.
>> as per http://code.google.com/p/fslint/source/checkout
>
> Nope, getfpf resets the arg list.
> Do you have a reproducible failure?
The problem was observed in this case during testing what the programs
do.
$ cd /usr/share/fslint/fslint/
$ sh -x findbl -c
+ dirname findbl
+ script_dir=.
+ readlink -f .
+ script_dir=/usr/share/fslint/fslint
+ . /usr/share/fslint/fslint/supprt/fslver
+ set -e
+ LF=
+ export LC_CTYPE=C
+ export LC_COLLATE=C
+ export GREP_USE_DFA=1
+ mode=dangling
+ printf \001
+ ASC_01=
+ shell_quote -c
+ printf "
+ echo -n -c
+ sed s/\([`"$\]\)/\\\1/g
+ printf "
+ argsToPassOn= "-c"
+ . /usr/share/fslint/fslint/supprt/getfpf "-c"
+ num_files=0
+ files=
+ switches=
+ onfindswitches=false
+ forcefullpath=false
+ eval set -- -c
+ set -- -c
+ switches= '-c'
+ onfindswitches=true
+ [ 0 -gt 1 ]
+ [ false = true ]
+ findArgs= '-c'
+ FPF=%P
+ [ 0 -eq 1 ]
+ eval set -- '-c'
+ set -- -c
+ pwd
+ sed s#/#\\/#g
+ EPWD=\/usr\/share\/fslint\/fslint
+ find -c -type l ! -name *
* -printf %P\n
+ sort -u
+ read file
+ tr \n \0
+ xargs -r0 ls -lUd --
+ sed s/.*[0-9]\{2\} \(.*\)/\1/
find: unknown predicate `-c'
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]