After comparing with 2.0.0.1+dfsg-2, I find that the following patch fixes
it. Basically, what's happening is that the arguments list isn't being
cleared => arguments are being duplicated due to 'set -- "$@" "${arg}"'.

--- /usr/bin/iceweasel~
+++ /usr/bin/iceweasel
@@ -165,6 +165,11 @@
 first=1
 opt=
 for arg in "$@"; do
+    if [ ${first} -eq 1 ]; then
+        set dummy
+        first=0
+    fi
+
     case "${arg}" in
         -a | --display | -contentLocale | -UILocale | -remote | --debugger |
-height | -width | -chrome | -P | -CreateProfile)
             prev=${arg}
@@ -257,6 +262,9 @@
 if [ -n "$prev" ]; then set -- "$@" "$prev"; fi
 set -- "$@" "-a" "${APPLICATION_ID}"
 
+if [ $# -ne 0 ]; then
+    shift
+fi
 OPTIONS="$@"
 
 if [ ${DEBUG} -eq 1 ]; then

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Use more efficient products. Use less.          BE MORE ENERGY EFFICIENT.

Do you want to see my disk collection?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to