Re: ld.so and "the FAQ"
On Tue, Nov 11, 2003 at 06:12:14AM -0800, Jeff Bailey wrote:
> You probably want this FAQ entry:
Which, I've been informed, is in fact in README.Debian.gz.
> * errno: If a program uses the variable "errno", then it _must_
> include <errno.h>. The old libc often (erroneously) declared this
> variable implicitly as a side-effect of including other libc header
> files. glibc is careful to avoid such namespace pollution, which,
> in turn, means that you really need to include the header files that
> you depend on. This difference normally manifests itself in the
> form of the compiler complaining about references to an undeclared
> symbol "errno".
>
> Applications that reference errno without including <errno.h> (usually
> by doing ``unsigned int errno'') now generate a runtime warning.
> Shortly after Sarge releases, they will all break, and there will be a
> mass bug-filing. For some reason it looks like either evo or cyrus are
> triggering this bug, and it's getting displayed to the imap reader.
Yeah, there was another bug against cyrus for this, with patch, but I didn't
make any sort of connection. Good to know I've just whacked three bugs for
the price of one... <grin>
Thanks for digging that up.
- Matt
Reply to: