`Hiding' libc symbols
Julian Elischer
julian at elischer.org
Mon May 5 16:26:57 PDT 2003
On Tue, 6 May 2003, Andrey A. Chernov wrote:
> On Mon, May 05, 2003 at 18:11:35 -0500, Jacques A. Vidrine wrote:
> > applications that (IMHO most legitimately, some not) define symbols
> > that are technically in some standard's space, such as `snprintf',
> > `strlcpy', `accept', `close', ... ? ``Fix'' them all? Throw them
> > away?
>
> Fix them all. It is as easy as putting
> #define printf myprintf
> somewhere into headers or even into CC flags. When this task is spreaded
> among corresponding ports maintainers, the number for each of them will be
> not too big.
>
> > What about applications that are already compiled?
>
> Leave them as is. I mean linker time error, not runtime.
>
> > I think such fascism would result in us behaving in a very un-UNIX
> > fashion.
If Linux had a clash they would fix the application software in a
flash..
>
> And I think just opposite.
> _______________________________________________
> freebsd-arch at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"
>
More information about the freebsd-arch
mailing list