Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 144829 Details for
Bug 157279
firefox launcher script should not direct stdout, stderr to /dev/null
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch that would add -debug argument to firefox launcher script
firefox.diff (text/plain), 2.42 KB, created by
Baris Cicek
on 2007-01-04 18:46:06 UTC
(
hide
)
Description:
Patch that would add -debug argument to firefox launcher script
Filename:
MIME Type:
Creator:
Baris Cicek
Created:
2007-01-04 18:46:06 UTC
Size:
2.42 KB
patch
obsolete
>--- /usr/bin/firefox 2007-01-04 20:37:43.000000000 +0200 >+++ /usr/bin/firefox 2007-01-04 20:27:30.000000000 +0200 >@@ -23,7 +23,9 @@ > ## > ## Usage: > ## >-## $ mozilla >+## $ mozilla [-debug] >+## >+## -debug: shows error and output messages > ## > ## This script is meant to run a mozilla program from the mozilla > ## rpm installation. >@@ -33,16 +35,23 @@ > > cmdname=`basename $0` > >+if [ "$1" == "-debug" ]; then >+ MOZ_IO='/dev/stdout'; >+ shift; >+else >+ MOZ_IO="/dev/null"; >+fi >+ > ## > ## Variables > ## > function check_running() { > $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM 'ping()' 2>/dev/null >/dev/null >@@ -109,7 +118,7 @@ > function open_mail() { > if [ "${ALREADY_RUNNING}" -eq "1" ]; then > exec $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM 'xfeDoCommand(openInbox)' \ >- 2>/dev/null >/dev/null >+ 2>$MOZ_IO >$MOZ_IO > else > exec $MOZ_PROGRAM $* > fi >@@ -118,7 +127,7 @@ > function open_compose() { > if [ "${ALREADY_RUNNING}" -eq "1" ]; then > exec $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM 'xfeDoCommand(composeMessage)' \ >- 2>/dev/null >/dev/null >+ 2>$MOZ_IO >$MOZ_IO > else > exec $MOZ_PROGRAM $* > fi >@@ -132,7 +141,7 @@ > # If there is no command line argument at all then try to open a new > # window in an already running instance. > if [ "${ALREADY_RUNNING}" -eq "1" ] && [ -z "$1" ]; then >- exec $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM "xfeDoCommand(openBrowser)" 2>/dev/null>/dev/null >+ exec $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM "xfeDoCommand(openBrowser)" 2>$MOZ_IO>$MOZ_IO > fi > > # check system locale >@@ -144,7 +153,7 @@ > # if there's no command line argument and there's not a running > # instance then just fire up a new copy of the browser > if [ -z "$1" ]; then >- exec $MOZ_PROGRAM $MOZARGS 2>/dev/null >/dev/null >+ exec $MOZ_PROGRAM $MOZARGS 2>$MOZ_IO >$MOZ_IO > fi > > unset RETURN_VAL >@@ -177,10 +186,10 @@ > if [ "${RETURN_VAL}" -ne "0" ] && [ -e "`pwd`/$opt" ]; then > opt="`pwd`/$opt" > fi >- exec $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM "openurl($opt)" 2>/dev/null >/dev/null >+ exec $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM "openurl($opt)" 2>$MOZ_IO >$MOZ_IO > fi > # just pass it off if it looks like a url >- exec $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM "openurl($opt)" 2>/dev/null >/dev/null >+ exec $MOZ_CLIENT_PROGRAM $MOZ_CLIENT_PROGRAM_PARAM "openurl($opt)" 2>$MOZ_IO >$MOZ_IO > fi > > exec $MOZ_PROGRAM $MOZARGS ${1+"$@"}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 157279
: 144829