Mail Archives: djgpp-workers/2000/08/01/10:25:22
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 -