www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/05/10/12:24:15

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3EBD21C1.28F26B4@phekda.freeserve.co.uk>
Date: Sat, 10 May 2003 16:58:57 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: strlcpy and strlcat
References: <3EBD1E56 DOT 351FFBC AT yahoo DOT com>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

CBFalconer wrote:
> I don't know if these are planned for inclusion in 2.04 - I
> recommend they be.  At any rate, following is my implementation of
> them, with a built in regression test by using -dTESTING.  The
> strlcpy code is a bit tricky and minimized.
[snip]

They're done and in CVS. They shipped in alpha 1. See strl*.* in
src/libc/compat/string. They're listed as "Features already in 2.04" on the
2.04 status page:

    http://www.phekda.freeserve.co.uk/richdawe/djgpp/2.04/status204.html

More test cases are appreciated, though. There are a few in
tests/libc/compat/string along with t-stl*.c. Yours could go in there too,
probably in new files.

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019