[Linux-disciples] Mozilla-firebird and Mozilla

Adam Kessel linux-disciples@bostoncoop.net
Tue, 21 Oct 2003 10:46:40 -0700


--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

A 6k executable should be a clue that it is a wrapper.  In fact, it is.
If you look at MozillaFirebird, it's a shell script which does a bunch of
environment checking.  Included in this is the line:

ALREADY_RUNNING=3D`check_running`

check_running is a subroutine within the shell script:

$MOZ_CLIENT_PROGRAM 'ping()' 2>/dev/null >/dev/null

This "pings" Mozilla to see if it's running.  Since Firebird and Mozilla
Browser operate off of the same code-base, either one will return a ping.
This may or may not be a bug, depending on your perspective.

On Tue, Oct 21, 2003 at 12:09:45PM -0400, Stephen R Laniel wrote:
> I just had Mozilla 1.2.1 open, and ran mozilla-firebird. What launched
> instead of mozilla-firebird was another instance of Mozilla 1.2.1. If I
> close all instances of Mozilla and run mozilla-firebird, the correct
> executable launches.
>=20
> Any idea why this happens? I thought maybe there was some funky
> symlinking happening, so I whereis'd mozilla-firebird:
>=20
> slaniel@JeffTweedy:~$ whereis mozilla-firebird
> mozilla-firebird: /usr/bin/mozilla-firebird /etc/mozilla-firebird
> /usr/lib/mozilla-firebird /usr/share/man/man1/mozilla-firebird.1.gz
>=20
> In turn, we have
> slaniel@JeffTweedy:/usr/bin$ ls mozilla-firebird
> lrwxrwxrwx    1 root     root           15 Oct 15 07:53 mozilla-firebird
> -> MozillaFirebird
>=20
> and then
> slaniel@JeffTweedy:/usr/bin$ ls MozillaFirebird
> -rwxr-xr-x    1 root     root         6217 Oct  9 22:31 MozillaFirebird
>=20
> A 6K executable for Firebird? Un-possible. Does anyone know what's going
> on here? And does this explain why running mozilla-firebird invokes
> another instance of Mozilla 1.2.1?
>=20
> --=20
> ``Tragedy is when I cut my finger. Comedy is when you walk into an
>   open sewer and die.''
>  -Mel Brooks
> 			=09
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples@bostoncoop.net
> http://bostoncoop.net/mailman/listinfo/linux-disciples

--=20
Adam Kessel
http://bostoncoop.net/adam

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/lXEAdTf3ZklQ6qYRAoC8AKChlglesc6ncpOer9URdFCOSejkSACgu01O
07ew/mTj2AnOUZ83pE+15AA=
=QOQM
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--