CVS commit: src/common/lib/libc/string
Module Name:src Committed By: rillig Date: Sun May 16 09:43:39 UTC 2021 Modified Files: src/common/lib/libc/string: memmem.c Log Message: memmem: remove unreachable return statement To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/memmem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: simonb Date: Mon Apr 19 01:12:10 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Add CVS ID line. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/common/lib/libc/string/memset2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: mrg Date: Sat Apr 17 21:43:47 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: avoid redefinition warning for __OPTIMIZE_SIZE__. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/common/lib/libc/string/memset2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: simonb Date: Sat Apr 17 08:06:58 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Use __register_t instead of uregister_t - this is available to all ports and both userland and kernel. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/common/lib/libc/string/memset2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: simonb Date: Sat Apr 17 06:02:35 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Cast the fill value to unsigned char so that the "fill" value used for full-word fills isn't garbage. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/common/lib/libc/string/memset2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: simonb Date: Sat Apr 17 05:57:11 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Disable the larger/faster code path. While the optimised code path was indeed quicker, it nonetheless failed to actually fill all the requested memory with the specified value much of the time if a non-aligned start address was used. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/string/memset2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: ad Date: Wed Jan 29 09:18:26 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: Some boot blocks too big now, only compare in big chunks if !_STANDALONE. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/common/lib/libc/string/bcmp.c cvs rdiff -u -r1.7 -r1.8 src/common/lib/libc/string/memcmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: ad Date: Mon Jan 27 22:22:03 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: Drop the alignment check if __NO_STRICT_ALIGNMENT (x86, m68k, vax). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/common/lib/libc/string/bcmp.c cvs rdiff -u -r1.6 -r1.7 src/common/lib/libc/string/memcmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: ad Date: Mon Jan 27 22:13:39 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: bcmp() / memcmp(): compare in uintptr_t sized chunks when it's easy to. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/common/lib/libc/string/bcmp.c cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/string/memcmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: jmcneill Date: Sat Mar 30 10:18:03 UTC 2019 Modified Files: src/common/lib/libc/string: memset.c Log Message: Fix typo: __aebi_memset -> __aeabi_memset To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/common/lib/libc/string/memset.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: christos Date: Mon Oct 15 19:32:48 UTC 2018 Modified Files: src/common/lib/libc/string: memmem.c Log Message: use postincrement, like the patch XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/memmem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: christos Date: Mon Oct 15 18:37:19 UTC 2018 Modified Files: src/common/lib/libc/string: memmem.c Log Message: Avoid out-of-bounds reads https://www.openwall.com/lists/musl/2017/06/29/6 XXX: pullup-8 To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/string/memmem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: christos Date: Thu Aug 16 12:03:10 UTC 2018 Modified Files: src/common/lib/libc/string: strncasecmp.c Log Message: toolify. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strncasecmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: christos Date: Sat Aug 11 16:25:32 UTC 2018 Modified Files: src/common/lib/libc/string: strcasecmp.c Log Message: Add nbotool stuff. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strcasecmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: christos Date: Sun Jul 8 17:53:13 UTC 2018 Added Files: src/common/lib/libc/string: memmem.c Log Message: switch to FreeBSD's memmem (faster) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/common/lib/libc/string/memmem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: martin Date: Mon Feb 12 11:14:15 UTC 2018 Modified Files: src/common/lib/libc/string: bcopy.c Log Message: Complete previous by complteley removing the _DIAGASSERT from memmove - the accidental left over from previous fired on all legitimate calls and caused PR bin/52986 and PR lib/52987. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/common/lib/libc/string/bcopy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: mrg Date: Tue Feb 6 09:28:48 UTC 2018 Modified Files: src/common/lib/libc/string: memset.c strlen.c Log Message: - remove two more _DIAGASSERT() checks against not NULL for functions with arguments with nonnull attributes. in two cases, leave code behind that should set defaults to "(null)". To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/common/lib/libc/string/memset.c cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strlen.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: christos Date: Wed Oct 12 20:01:40 UTC 2016 Added Files: src/common/lib/libc/string: strchrnul.c Log Message: Add strchrnul To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/common/lib/libc/string/strchrnul.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: matt Date: Fri May 29 19:39:41 UTC 2015 Modified Files: src/common/lib/libc/string: popcount32.c popcount64.c Log Message: Don't compile if there is a macro of the same name. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/string/popcount32.c cvs rdiff -u -r1.7 -r1.8 src/common/lib/libc/string/popcount64.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: riastradh Date: Wed Mar 18 20:11:35 UTC 2015 Modified Files: src/common/lib/libc/string: consttime_memequal.c Log Message: Switch to the suggested constant-time result conversion. Not hard to find CPU/compiler combinations with branches for `!res'. While here, make everything unsigned for good measure. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/string/consttime_memequal.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: drochner Date: Tue Jun 24 16:39:39 UTC 2014 Modified Files: src/common/lib/libc/string: consttime_memequal.c explicit_memset.c Log Message: add a public domain notice To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/string/consttime_memequal.c cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/explicit_memset.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: joerg Date: Wed Apr 16 20:39:55 UTC 2014 Modified Files: src/common/lib/libc/string: bcopy.c Log Message: Undef possible macro versions of memcpy and friends for kernel builds too. libkern sometimes defines them to the builtins. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/common/lib/libc/string/bcopy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: joerg Date: Mon Apr 14 18:18:58 UTC 2014 Modified Files: src/common/lib/libc/string: bcopy.c Log Message: Using bcopy/memcpy with NULL arguments is valid as long as the size is also 0. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/common/lib/libc/string/bcopy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: apb Date: Thu Jan 9 11:25:11 UTC 2014 Modified Files: src/common/lib/libc/string: strnlen.c Log Message: Make strnlen implementation usable from src/tools/compat. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/string/strnlen.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: christos Date: Fri Dec 27 20:26:53 UTC 2013 Modified Files: src/common/lib/libc/string: strncat.c Log Message: make it kernel friendly. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/string/strncat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: christos Date: Fri Dec 27 20:24:45 UTC 2013 Added Files: src/common/lib/libc/string: strncat.c Log Message: kernel needs it now too. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/common/lib/libc/string/strncat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: riastradh Date: Wed Aug 28 19:31:14 UTC 2013 Modified Files: src/common/lib/libc/string: consttime_memequal.c Log Message: Comment on possible data-dependent branch in `!res'. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/consttime_memequal.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: joerg Date: Mon Jul 1 20:51:59 UTC 2013 Modified Files: src/common/lib/libc/string: strcmp.c Log Message: Don't pick up strcmp as macro from libkern.h. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strcmp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: matt Date: Wed Jan 23 07:57:27 UTC 2013 Modified Files: src/common/lib/libc/string: strlcat.c Log Message: Add a (unused) variant of strlcat that uses strnlen and strlcpy to do the work. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/strlcat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: apb Date: Fri Mar 2 16:22:27 UTC 2012 Modified Files: src/common/lib/libc/string: memset2.c Log Message: remove trailing white space To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/string/memset2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: apb Date: Fri Mar 2 16:19:15 UTC 2012 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Change CTASSERT to __CTASSERT (the spelling used in ), include so that it will be defined, and move it to a better place. The previous CTASSERT would never have been used because of the ifdef. If it had been used, it would have had unwanted effects from being just after the "static inline" that appears when BZERO is defined. Also move the __RCSID to a more conventional location. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/memset2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: joerg Date: Tue Nov 8 16:52:11 UTC 2011 Modified Files: src/common/lib/libc/string: memcmp.c memset.c memset2.c strcpy.c Log Message: libkern.h maps memcmp, memset and strcpy to the compiler builtins on some platforms, so make sure to #undef them first. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/memcmp.c \ src/common/lib/libc/string/memset2.c src/common/lib/libc/string/strcpy.c cvs rdiff -u -r1.8 -r1.9 src/common/lib/libc/string/memset.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: plunky Date: Wed Aug 31 15:48:32 UTC 2011 Modified Files: src/common/lib/libc/string: strchr.c Log Message: NULL does not need a cast To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/string/strchr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: dholland Date: Sun Aug 21 21:25:04 UTC 2011 Modified Files: src/common/lib/libc/string: popcount32.c popcount64.c Log Message: Requires stdint.h. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/popcount32.c cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/string/popcount64.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: mrg Date: Sun Aug 7 01:52:48 UTC 2011 Modified Files: src/common/lib/libc/string: ffs.c Log Message: add a weak alias to __ffssi2, needed for hppa gcc 4.5. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/ffs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.