summaryrefslogtreecommitdiff
path: root/www/firefox-devel/files/patch-browser_app_mozilla.in
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-09-21 23:49:19 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-09-21 23:49:19 +0000
commit44036f0330db37bf8d71dd5b78bbb85980141c56 (patch)
tree4b8845a2591cb8722d79480d4deffaf4412531c7 /www/firefox-devel/files/patch-browser_app_mozilla.in
parentAdd real references to urban -- stack overflow vulnerabilities. (diff)
Update to 1.0.7. See
http://www.mozilla.org/products/firefox/releases/1.0.7.html#new for the list of fixes in this release. Security: Fixes http://vuxml.FreeBSD.org/2e28cefb-2aee-11da-a263-0001020eed82.html among other things
Diffstat (limited to 'www/firefox-devel/files/patch-browser_app_mozilla.in')
-rw-r--r--www/firefox-devel/files/patch-browser_app_mozilla.in14
1 files changed, 8 insertions, 6 deletions
diff --git a/www/firefox-devel/files/patch-browser_app_mozilla.in b/www/firefox-devel/files/patch-browser_app_mozilla.in
index 6389a61b5e8b..414bc881e492 100644
--- a/www/firefox-devel/files/patch-browser_app_mozilla.in
+++ b/www/firefox-devel/files/patch-browser_app_mozilla.in
@@ -123,7 +123,7 @@
# Use run-mozilla.sh in the current dir if it exists
# If not, then start resolving symlinks until we find run-mozilla.sh
-@@ -82,149 +114,221 @@
+@@ -82,151 +114,221 @@
curdir=`dirname "$progname"`
progbase=`basename "$progname"`
run_moz="$curdir/run-mozilla.sh"
@@ -183,7 +183,6 @@
-fi
-
-script_args=""
--moreargs=""
-debugging=0
-MOZILLA_BIN="${progbase}-bin"
-
@@ -385,7 +384,8 @@
-# Default action - no running instance or _USE_EXIST (${_USE_EXIST}) ! -eq 1
-########################################################################### Main
--while [ $# -gt 0 ]
+-pass_arg_count=0
+-while [ $# -gt $pass_arg_count ]
-do
- case "$1" in
- -p | --pure | -pure)
@@ -402,8 +402,11 @@
- shift 2
- ;;
- *)
-- moreargs="$moreargs \"$1\""
-- shift 1
+- # Move the unrecognized argument to the end of the list.
+- arg="$1"
+- shift
+- set -- "$@" "$arg"
+- pass_arg_count=`expr $pass_arg_count + 1`
- ;;
- esac
-done
@@ -449,7 +452,6 @@
+fi
-export MRE_HOME
--eval "set -- $moreargs"
+# real invocation
+eval "set -- ${moreargs}"