Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 2003 14:05:49 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-arch@FreeBSD.org
Subject:   Re: Re: `Hiding' libc symbols (was Re: cvs commit: src/lib/libc/gen ...)
Message-ID:  <XFMail.20030501140549.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0305011046140.73226-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 01-May-2003 Julian Elischer wrote:
> 
> 
> On Thu, 1 May 2003, Paul Richards wrote:
> 
>> On Thu, May 01, 2003 at 09:30:32AM -0500, Jacques A. Vidrine wrote:
>> > On Thu, May 01, 2003 at 03:02:55PM +0100, Paul Richards wrote:
>> > > On Wed, Apr 30, 2003 at 11:41:35AM -0500, Jacques A. Vidrine wrote:
>> > > > [Trimmed cc:list;  moving to freebsd-arch]
>> > > > 
>> > > > 
>> > > > First, has something been broken by making strlcpy/strlcat into a weak
>> > > > reference?
>> > > 
>> > > Yes, deliberately overloading it from an application now no longer
>> > > works.
>> > 
>> > Give me a break.  Good, it should not work by accident.  An
>> > application might define strlcpy for its own use, but we should NEVER
>> > use the application's strlcpy. [1]
>> 
>> An application doesn't have any business defining a strlcpy, since
>> str* is reserved.  The qpopper application is just broken and we
>> shouldn't be "fixing" our libc to work around that.
> 
> 
> 
> Exactly..
> This is why we have ports
> It is also th king of thing that "configure" is supposed to fix..
> The port should be altered to fix this and teh maintainers contected and
> told of the problem.
> 
> I don't see why the libc needs to be changed at all.

Agreed.  Somebody just needs to sit down and fix the qpopper port and
then the argument for this change goes away and it can be reverted.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030501140549.jhb>