Date: Thu, 27 Apr 2006 10:43:08 -0700
From: Ulrich Drepper <drepper@redhat.com>
To: Derrell.Lipman@UnwiredUniverse.com
CC: libc-alpha@sourceware.org
Subject: Re: fopen() calls __open()
Message-ID: <445102AC.5090505@redhat.com>
References: <vesvx8jj.fsf@oberon-mail.internal> <4450F946.6030909@redhat.com>
	<8xprx810.fsf@oberon-mail.internal>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=======-=-="

--=======-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Derrell.Lipman@UnwiredUniverse.com wrote:
> I'm a bit confused as to why certain functions are weak and allowed to be
> overridden (e.g. open, __open)

Forget about weak.  The is no difference in the treatment of weak and
strong symbols when they are defined in DSOs.  They are all the same.
The aspect interesting for you is exported or not.  No internal libc
call except those to the malloc functions references names which are
exported.

--=20
=E2=9E=A7 Ulrich Drepper =E2=9E=A7 Red Hat, Inc. =E2=9E=A7 444 Castro St =
=E2=9E=A7 Mountain View, CA =E2=9D=96


--=======-=-=
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEUQKs2ijCOnn/RHQRAlGLAJwLv/XjQPFBwXltsOJ0CKSgbuVuNQCeJkXp
bzhGu/ARFzSNXOeL5sZramY=
=dxnk
-----END PGP SIGNATURE-----

--=======-=-=--

