From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27492 invoked by alias); 12 May 2010 13:04:51 -0000 Received: (qmail 27404 invoked by uid 22791); 12 May 2010 13:04:50 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,TW_CP X-Spam-Check-By: sourceware.org Received: from virtual.bogons.net (HELO virtual.bogons.net) (193.178.223.136) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 12 May 2010 13:04:42 +0000 Received: from jifvik.dyndns.org (jifvik.dyndns.org [85.158.45.40]) by virtual.bogons.net (8.10.2+Sun/8.11.2) with ESMTP id o4CD4cG03846; Wed, 12 May 2010 14:04:38 +0100 (BST) Received: from [172.31.1.2] (unknown [172.31.1.2]) by jifvik.dyndns.org (Postfix) with ESMTP id 649233FE1; Wed, 12 May 2010 14:04:37 +0100 (BST) Message-ID: <4BEAA764.7040004@jifvik.org> Date: Wed, 12 May 2010 13:04:00 -0000 From: Jonathan Larmour User-Agent: Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Daniel_N=E9ri?= Cc: ecos-patches@sources.redhat.com Subject: Re: Reminder: strlcat/strlcpy References: <4BE982EE.1040908@jifvik.org> <87pr11ifo3.fsf@quadra.hq.sigicom.net> In-Reply-To: <87pr11ifo3.fsf@quadra.hq.sigicom.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2010-05/txt/msg00011.txt.bz2 Daniel Néri wrote: > I'll take the opportunity to remind you about the patch I submitted more > than 6 years ago, adding the strlcat and strlcpy functions: > > http://sourceware.org/ml/ecos-patches/2004-02/msg00035.html > > These very useful replacements for strncat and strncpy are supported in > e.g. {Free,Net,Open}BSD, Mac OS X/Darwin and Solaris. Heh, fair enough. Would you mind updating it with these minor changes: update the copyright dates, add eCos copyright headers to the two new files, and if you don't mind while you're there, enclose the whole block of prototypes in bsdstring.h in: #ifndef __STRICT_ANSI__ Jifl -- ------["The best things in life aren't things."]------ Opinions==mine