CVS commit: src/common/lib/libc/string

2021-05-16 Thread Roland Illig
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

CVS commit: src/common/lib/libc/string

2021-04-18 Thread Simon Burge
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

CVS commit: src/common/lib/libc/string

2021-04-17 Thread matthew green
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

CVS commit: src/common/lib/libc/string

2021-04-17 Thread Simon Burge
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

CVS commit: src/common/lib/libc/string

2021-04-17 Thread Simon Burge
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

CVS commit: src/common/lib/libc/string

2021-04-16 Thread Simon Burge
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

CVS commit: src/common/lib/libc/string

2020-01-29 Thread Andrew Doran
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

CVS commit: src/common/lib/libc/string

2020-01-27 Thread Andrew Doran
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

CVS commit: src/common/lib/libc/string

2020-01-27 Thread Andrew Doran
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

CVS commit: src/common/lib/libc/string

2019-03-30 Thread Jared D. McNeill
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

CVS commit: src/common/lib/libc/string

2018-10-15 Thread Christos Zoulas
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

CVS commit: src/common/lib/libc/string

2018-10-15 Thread Christos Zoulas
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

CVS commit: src/common/lib/libc/string

2018-08-16 Thread Christos Zoulas
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

CVS commit: src/common/lib/libc/string

2018-08-11 Thread Christos Zoulas
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

CVS commit: src/common/lib/libc/string

2018-07-08 Thread Christos Zoulas
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

CVS commit: src/common/lib/libc/string

2018-02-12 Thread Martin Husemann
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

CVS commit: src/common/lib/libc/string

2018-02-06 Thread matthew green
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,

CVS commit: src/common/lib/libc/string

2016-10-12 Thread Christos Zoulas
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

CVS commit: src/common/lib/libc/string

2015-05-29 Thread Matt Thomas
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

CVS commit: src/common/lib/libc/string

2015-03-18 Thread Taylor R Campbell
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

CVS commit: src/common/lib/libc/string

2014-06-24 Thread Matthias Drochner
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

CVS commit: src/common/lib/libc/string

2014-01-09 Thread Alan Barrett
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

CVS commit: src/common/lib/libc/string

2013-12-27 Thread Christos Zoulas
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

CVS commit: src/common/lib/libc/string

2013-12-27 Thread Christos Zoulas
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

CVS commit: src/common/lib/libc/string

2013-08-28 Thread Taylor R Campbell
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

CVS commit: src/common/lib/libc/string

2013-07-01 Thread Joerg Sonnenberger
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

CVS commit: src/common/lib/libc/string

2013-01-22 Thread Matt Thomas
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

CVS commit: src/common/lib/libc/string

2012-03-02 Thread Alan Barrett
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 sys/cdefs.h), include sys/cdefs.h so that it will be defined, and move it to a

CVS commit: src/common/lib/libc/string

2012-03-02 Thread Alan Barrett
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

CVS commit: src/common/lib/libc/string

2011-11-08 Thread Joerg Sonnenberger
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

CVS commit: src/common/lib/libc/string

2011-08-31 Thread Iain Hibbert
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

CVS commit: src/common/lib/libc/string

2011-08-21 Thread David A. Holland
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

CVS commit: src/common/lib/libc/string

2011-08-06 Thread matthew green
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

CVS commit: src/common/lib/libc/string

2009-08-05 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed Aug 5 15:04:15 UTC 2009 Modified Files: src/common/lib/libc/string: popcount64.c Log Message: Fix a comment to not be self-referencing. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/common/lib/libc/string

2009-07-21 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Jul 21 17:14:12 UTC 2009 Modified Files: src/common/lib/libc/string: popcount64.c Log Message: Make the constant u_longlong too, lint is just too stupid... To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3