2013-06-13 Ilija Kocho * tests/memchr.c: Fix compiler warnings for discrediting const pointer. [ Bugzilla 1001865 ] 2010-05-10 Ross Younger * include/string.h: Declare strnlen. * include/stringsupp.hxx: Declare __strnlen. * src/strnlen.cxx, tests/strnlen.c: Created. * cdl/string.cdl (CYGFUN_LIBC_STRING_GNU_STRNLEN): New option, compiles strnlen.cxx. (CYGPKG_LIBC_STRING_TESTS): Add strnlen test. 2009-01-26 Jonathan Larmour * tests/memchr.c (main): Rename to cyg_user_start if main isn't going to be called. * tests/memcmp1.c (main): Ditto. * tests/memcmp2.c (main): Ditto. * tests/memcpy1.c (main): Ditto. * tests/memcpy2.c (main): Ditto. * tests/memmove1.c (main): Ditto. * tests/memmove2.c (main): Ditto. * tests/memset.c (main): Ditto. * tests/strcat1.c (main): Ditto. * tests/strcat2.c (main): Ditto. * tests/strchr.c (main): Ditto. * tests/strcmp1.c (main): Ditto. * tests/strcmp2.c (main): Ditto. * tests/strcoll1.c (main): Ditto. * tests/strcoll2.c (main): Ditto. * tests/strcpy1.c (main): Ditto. * tests/strcpy2.c (main): Ditto. * tests/strcspn.c (main): Ditto. * tests/strlen.c (main): Ditto. * tests/strncat1.c (main): Ditto. * tests/strncat2.c (main): Ditto. * tests/strncpy1.c (main): Ditto. * tests/strncpy2.c (main): Ditto. * tests/strpbrk.c (main): Ditto. * tests/strrchr.c (main): Ditto. * tests/strspn.c (main): Ditto. * tests/strstr.c (main): Ditto. * tests/strtok.c (main): Ditto. * tests/strxfrm1.c (main): Ditto. * tests/strxfrm2.c (main): Ditto. 2005-07-22 Andrew Lunn * src/strcmp.cxx (__strcmp): Set retval to zero to avoid compiler warnings. 2004-02-20 Jonathan Larmour * include/string.h: Prototype strdup(). * include/stringsupp.hxx: Prototype __strdup(). externC -> __externC while I'm here. * src/strdup.cxx: New file implementing strdup()/__strdup(). * cdl/string.cdl: Build strdup.cxx if CYGINT_ISO_MALLOC. * src/strtok.cxx (strtok): Use correct thread data type. 2003-02-24 Jonathan Larmour * cdl/string.cdl: Fix doc link. 2001-11-27 Jonathan Larmour * cdl/string.cdl (CYGFUN_LIBC_STRING_BSD_FUNCS): New option to indicate provision of BSD-ish string functions. * include/bsdstring.h: New header to export BSD string func prototypes. * src/bsdstring.cxx: New file. 2001-08-21 Jonathan Larmour * cdl/string.cdl (CYGSEM_LIBC_STRING_PER_THREAD_STRTOK): Improve dependencies. 2001-08-10 Robin Farine * src/memchr.cxx (__memchr): Don't check string validity if number of bytes to operate on is 0. * src/memcmp.cxx (__memcmp): Ditto. * src/memmove.cxx (__memmove): Ditto. * src/strncat.cxx (__strncat): Ditto. * src/strncmp.cxx (__strncmp): Ditto. * src/strncpy.cxx (__strncpy): Ditto. * src/strxfrm.cxx (__strxfrm): Ditto. 2000-05-20 Jonathan Larmour * src/strtok.cxx: Remove aliases 2000-05-02 Jonathan Larmour * New package Separated original libc out into separate packages on functional boundaries. Header files are now managed by isoinfra package Plenty of cleanups done, but no major functionality changes //=========================================================================== // ####GPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. // Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 or (at your option) any // later version. // // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the // Free Software Foundation, Inc., 51 Franklin Street, // Fifth Floor, Boston, MA 02110-1301, USA. // ------------------------------------------- // ####GPLCOPYRIGHTEND#### //===========================================================================