www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/08/01/10:25:22

From: "Richard E. Stone" <restone AT skypoint DOT com>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp-workers AT delorie DOT com>
Subject: RE: stpncpy
Date: Tue, 1 Aug 2000 09:23:17 -0500
Message-ID: <LPBBINFBCBNBLIBJHPBGEEKLCAAA.restone@skypoint.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
In-Reply-To: <Pine.SUN.3.91.1000801091339.13973E-100000@is>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

It was the GNU package glibc-2.1.3, specifically
the file glibc-2.1.3/string/tester.c which has
several string function tests.  I just pulled
the one for stpncpy.

> -----Original Message-----
> From: Eli Zaretskii [mailto:eliz AT is DOT elta DOT co DOT il]
> Sent: Tuesday, August 01, 2000 1:15 AM
> To: DJ Delorie
> Cc: Richard E. Stone; djgpp-workers AT delorie DOT com
> Subject: RE: stpncpy
> 
> 
> 
> On Mon, 31 Jul 2000, Richard E. Stone wrote:
> 
> > Attached are two files, stpncpy.c and makefile.
> > Both are intended to be put in the directory
> > tests\libc\compat\string, with stpncpy.c being
> > an addition and makefile being a replacement.
> 
> Thanks.
> 
> > The makefile adds a line to include stpncpy.c
> > in the tests, while stpncpy.c is a test file
> > for the stpncpy function.  (I basically copied
> > it out of tester.c found in the GNU sources.)
> 
> Which GNU sources (of what package) are those?
> 
> DJ, is it okay for a test to be copied from GNU sources?
> 

- Raw text -


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