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

2024-01-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 20 14:55:11 UTC 2024 Modified Files: src/common/lib/libc/string: strpbrk.c Log Message: Add __UNCONST To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strpbrk.c Please note that

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

2024-01-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 20 14:55:11 UTC 2024 Modified Files: src/common/lib/libc/string: strpbrk.c Log Message: Add __UNCONST To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strpbrk.c Please note that

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

2023-06-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 18 22:18:13 UTC 2023 Modified Files: src/common/lib/libc/string: strspn.c Log Message: strspn: fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strspn.c Please

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

2023-06-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 18 22:18:13 UTC 2023 Modified Files: src/common/lib/libc/string: strspn.c Log Message: strspn: fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/string/strspn.c Please

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

2022-01-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Jan 15 10:38:56 UTC 2022 Modified Files: src/common/lib/libc/string: memset2.c Log Message: fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/common/lib/libc/string/memset2.c Please

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

2022-01-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Jan 15 10:38:56 UTC 2022 Modified Files: src/common/lib/libc/string: memset2.c Log Message: fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/common/lib/libc/string/memset2.c Please

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-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-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 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 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-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

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

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

2020-08-08 Thread David Holland
(yes, change is from January, I'm hugely behind) On Mon, Jan 27, 2020 at 10:22:03PM +, Andrew Doran wrote: > Modified Files: > src/common/lib/libc/string: bcmp.c memcmp.c > > Log Message: > Drop the alignment check if __NO_STRICT_ALIGNMENT (x86, m68k, vax). Even on machines that

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-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: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

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

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 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-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-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-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-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-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

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,

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

2016-10-13 Thread Joerg Sonnenberger
On Thu, Oct 13, 2016 at 01:27:00AM +, Christos Zoulas wrote: > In article <20161012220744.gb...@britannica.bec.de>, > Joerg Sonnenberger wrote: > > >So strchrnul(a,b) seems to be a + strcspn(a,b), just in a non-portable > >way. I don't see the point of it at all. Please revert

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

2016-10-12 Thread Christos Zoulas
In article <20161012220744.gb...@britannica.bec.de>, Joerg Sonnenberger wrote: >So strchrnul(a,b) seems to be a + strcspn(a,b), just in a non-portable >way. I don't see the point of it at all. Please revert this. Also hit >anyone using strchrnul with a cluebat please... That

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

2016-10-12 Thread Joerg Sonnenberger
On Thu, Oct 13, 2016 at 12:01:58AM +0200, Joerg Sonnenberger wrote: > On Wed, Oct 12, 2016 at 04:01:40PM -0400, Christos Zoulas wrote: > > Module Name:src > > Committed By: christos > > Date: Wed Oct 12 20:01:40 UTC 2016 > > > > Added Files: > >

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

2016-10-12 Thread Joerg Sonnenberger
On Wed, Oct 12, 2016 at 04:01:40PM -0400, Christos Zoulas wrote: > 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 This seems to be completely pointless GNU

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

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

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

2015-05-30 Thread Matt Thomas
On May 29, 2015, at 12:46 PM, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Fri, May 29, 2015 at 07:39:41PM +, Matt Thomas wrote: Module Name: src Committed By:matt Date:Fri May 29 19:39:41 UTC 2015 Modified Files: src/common/lib/libc/string:

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-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

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-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

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

2014-04-23 Thread David Laight
On Tue, Apr 15, 2014 at 03:41:55PM +0200, Joerg Sonnenberger wrote: I remember a discussion about this topic from the LLVM lists and the reasons for the standard language on this are extremely weak. IIRC the *only* justification was for some platforms with broken (trapping) prefetch

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

2014-04-16 Thread Joerg Sonnenberger
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

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

2014-04-15 Thread Alan Barrett
On Mon, 14 Apr 2014, Joerg Sonnenberger wrote: 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. No, it's undefined behaviour. C99 section 7.21.1: Unless explicitly stated otherwise in

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

2014-04-15 Thread Steffen Nurpmeso
Hello, Joerg Sonnenberger jo...@netbsd.org wrote: |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.

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

2014-04-15 Thread Steffen Nurpmeso
P.S.: i wasn't subscribed to this list (until hopefully now), so i haven't seen that Alan Barrett already commented. But now that i read it, ISO C 2011 states the same (7.24.1). --steffen

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

2014-04-15 Thread Joerg Sonnenberger
On Tue, Apr 15, 2014 at 08:06:57AM +0200, Alan Barrett wrote: On Mon, 14 Apr 2014, Joerg Sonnenberger wrote: 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. No, it's undefined behaviour.

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

2014-04-14 Thread Joerg Sonnenberger
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

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

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-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-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-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

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

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

2012-03-02 Thread Alan Barrett
On Fri, 02 Mar 2012, Jukka Ruohonen wrote: 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 better place. The previous CTASSERT would never have been used because of the ifdef. If it had been used,

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

2012-03-02 Thread Matt Thomas
On Mar 2, 2012, at 11:15 AM, Alan Barrett wrote: On Fri, 02 Mar 2012, Jukka Ruohonen wrote: 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 better place. The previous CTASSERT would never have

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

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-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

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

2011-09-24 Thread Joerg Sonnenberger
On Fri, Sep 23, 2011 at 08:33:22PM +, Christos Zoulas wrote: In article 20110923163839.ga4...@kleink.org, Klaus Klein kle...@kleink.org wrote: [Yay, catching up with a month's worth of source-changes...] On Mon, Aug 22, 2011 at 12:46:21PM +, Christos Zoulas wrote: In article

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

2011-09-24 Thread Christos Zoulas
In article 20110924094308.ga30...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Fri, Sep 23, 2011 at 08:33:22PM +, Christos Zoulas wrote: In article 20110923163839.ga4...@kleink.org, Klaus Klein kle...@kleink.org wrote: [Yay, catching up with a month's worth of

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

2011-09-23 Thread Klaus Klein
[Yay, catching up with a month's worth of source-changes...] On Mon, Aug 22, 2011 at 12:46:21PM +, Christos Zoulas wrote: In article 20110822104822.gb15...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Mon, Aug 22, 2011 at 01:26:24AM +, David Holland wrote:

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

2011-09-23 Thread Christos Zoulas
In article 20110923163839.ga4...@kleink.org, Klaus Klein kle...@kleink.org wrote: [Yay, catching up with a month's worth of source-changes...] On Mon, Aug 22, 2011 at 12:46:21PM +, Christos Zoulas wrote: In article 20110822104822.gb15...@britannica.bec.de, Joerg Sonnenberger

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-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

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

2011-08-22 Thread Joerg Sonnenberger
On Mon, Aug 22, 2011 at 01:26:24AM +, David Holland wrote: On Mon, Aug 22, 2011 at 03:13:29AM +0200, Joerg Sonnenberger wrote: On Sun, Aug 21, 2011 at 11:37:08PM +, David Holland wrote: On Mon, Aug 22, 2011 at 01:31:31AM +0200, Joerg Sonnenberger wrote: Modified Files:

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

2011-08-22 Thread Christos Zoulas
In article 20110822104822.gb15...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Mon, Aug 22, 2011 at 01:26:24AM +, David Holland wrote: On Mon, Aug 22, 2011 at 03:13:29AM +0200, Joerg Sonnenberger wrote: On Sun, Aug 21, 2011 at 11:37:08PM +, David Holland

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

2011-08-22 Thread Joerg Sonnenberger
On Mon, Aug 22, 2011 at 04:48:02PM +0400, Valeriy E. Ushakov wrote: It doesn't. The prototypes in strings.h already ensure that uint32_t/uint64_t are present and that's the only thing it could ever need from stdint.h. Yes it does. strings.h is included by string.h and is

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

2011-08-22 Thread Valeriy E. Ushakov
On Mon, Aug 22, 2011 at 16:48:02 +0400, Valeriy E. Ushakov wrote: On Mon, Aug 22, 2011 at 12:48:22 +0200, Joerg Sonnenberger wrote: [...] You are skinning the wrong cat. string.h shouldn't include strings.h in first place. #if defined(_NETBSD_SOURCE) #include strings.h /* for

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

2011-08-22 Thread David Holland
On Mon, Aug 22, 2011 at 12:48:22PM +0200, Joerg Sonnenberger wrote: Requires stdint.h. No? uh what? It doesn't. The prototypes in strings.h already ensure that uint32_t/uint64_t are present and that's the only thing it could ever need from

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

2011-08-21 Thread Joerg Sonnenberger
On Sun, Aug 21, 2011 at 09:25:04PM +, David A. Holland wrote: 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

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

2011-08-21 Thread David Holland
On Mon, Aug 22, 2011 at 01:31:31AM +0200, Joerg Sonnenberger wrote: Modified Files: src/common/lib/libc/string: popcount32.c popcount64.c Log Message: Requires stdint.h. No? uh what? -- David A. Holland dholl...@netbsd.org

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

2011-08-21 Thread Joerg Sonnenberger
On Sun, Aug 21, 2011 at 11:37:08PM +, David Holland wrote: On Mon, Aug 22, 2011 at 01:31:31AM +0200, Joerg Sonnenberger wrote: Modified Files: src/common/lib/libc/string: popcount32.c popcount64.c Log Message: Requires stdint.h. No? uh what? It doesn't. The

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

2011-08-21 Thread David Holland
On Mon, Aug 22, 2011 at 03:13:29AM +0200, Joerg Sonnenberger wrote: On Sun, Aug 21, 2011 at 11:37:08PM +, David Holland wrote: On Mon, Aug 22, 2011 at 01:31:31AM +0200, Joerg Sonnenberger wrote: Modified Files: src/common/lib/libc/string: popcount32.c popcount64.c

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-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

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

  1   2   >