From: "Richard E. Stone" To: "Eli Zaretskii" Cc: Subject: RE: stpncpy Date: Tue, 1 Aug 2000 09:23:17 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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: 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 Precedence: bulk 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? >