tags 465350 + patch thanks Patch attached. It is intended for use in debian/patches.
It does not fix errors for "foo=$((foo + 1))" as these are not considered buggy and devscripts 2.10.21 does not report on them. Regards, -- Chris Lamb, UK [EMAIL PROTECTED] GPG: 0x634F9A20
diff -urNad oprofile-0.9.3.orig/utils/opcontrol oprofile-0.9.3/utils/opcontrol --- oprofile-0.9.3.orig/utils/opcontrol 2008-04-10 04:53:34.000000000 +0100 +++ oprofile-0.9.3/utils/opcontrol 2008-04-10 05:00:27.000000000 +0100 @@ -1246,7 +1246,7 @@ else set_ctr_param $CTR enabled 1 set_ctr_param $CTR event $EVENT_VAL - let loop_count=1 + loop_count=1 for i in ${EVENT_STR}; do #Skip first argument of EVENT_STR (event val) since we've already #processed that value. @@ -1255,7 +1255,7 @@ VAL=`echo $i | awk -F: '{print $2}'` set_ctr_param "" $KEY $VAL fi - let loop_count="$loop_count"+1 + loop_count=$((loop_count + 1)) done set_ctr_param $CTR count $COUNT set_ctr_param $CTR kernel $KERNEL
signature.asc
Description: PGP signature