CVS commit: src/lib/libc/string

2023-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 13 11:27:22 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): More on how strlcpy is not a safe strncpy replacement. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/lib/libc/string

2023-08-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Aug 13 11:27:22 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): More on how strlcpy is not a safe strncpy replacement. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/lib/libc/string

2023-08-12 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Aug 13 04:20:08 UTC 2023 Modified Files: src/lib/libc/string: memcpy.3 Log Message: memcpy: consistency in prototype and fix sentence To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/string/memcpy.3

CVS commit: src/lib/libc/string

2023-08-12 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Aug 13 04:20:08 UTC 2023 Modified Files: src/lib/libc/string: memcpy.3 Log Message: memcpy: consistency in prototype and fix sentence To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/string/memcpy.3

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:32:26 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Fix column sizing. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/string/strncpy.3 Please note

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:32:26 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Fix column sizing. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/string/strncpy.3 Please note

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:30:32 UTC 2023 Modified Files: src/lib/libc/string: strlcpy.3 Log Message: strlcpy(3): Tweak markup. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/string/strlcpy.3 Please note that

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:30:32 UTC 2023 Modified Files: src/lib/libc/string: strlcpy.3 Log Message: strlcpy(3): Tweak markup. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/string/strlcpy.3 Please note that

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:20:39 UTC 2023 Modified Files: src/lib/libc/string: strlcpy.3 strncpy.3 Log Message: strlcpy(3), strncpy(3): Omit needless (void) casts in examples. The return values are not critical. To generate a diff of

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:20:39 UTC 2023 Modified Files: src/lib/libc/string: strlcpy.3 strncpy.3 Log Message: strlcpy(3), strncpy(3): Omit needless (void) casts in examples. The return values are not critical. To generate a diff of

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:17:16 UTC 2023 Modified Files: src/lib/libc/string: strcpy.3 strlcpy.3 strncpy.3 Log Message: strcpy(3), strlcpy(3), strncpy(3): Just say `byte', not `character'. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:17:16 UTC 2023 Modified Files: src/lib/libc/string: strcpy.3 strlcpy.3 strncpy.3 Log Message: strcpy(3), strlcpy(3), strncpy(3): Just say `byte', not `character'. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:12:11 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Tiny wording tweak. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/string/strncpy.3 Please

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:12:11 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Tiny wording tweak. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/string/strncpy.3 Please

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:11:21 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Reword to make sentence structure parallel. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:11:21 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Reword to make sentence structure parallel. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:10:27 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Fix typo -- stpncpy, not stpcpy which is different. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:10:27 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Fix typo -- stpncpy, not stpcpy which is different. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:09:11 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Take another whack at clarifying this. Emphasize the fixed-buffer nature of it, and that NUL-termination is neither required

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 21:09:11 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Take another whack at clarifying this. Emphasize the fixed-buffer nature of it, and that NUL-termination is neither required

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 16:34:28 UTC 2023 Modified Files: src/lib/libc/string: strlcpy.3 Log Message: strlcpy(3): Nix stray space between `NUL' and `-terminating'. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 16:34:28 UTC 2023 Modified Files: src/lib/libc/string: strlcpy.3 Log Message: strlcpy(3): Nix stray space between `NUL' and `-terminating'. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/lib/libc/string

2023-08-11 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 11 16:06:10 UTC 2023 Modified Files: src/lib/libc/string: strlcpy.3 Log Message: strlcpy(3): don't use \*[Ge] for >= - it's wrong for source code In the PostScript output it produces the single mathematical "greater or

CVS commit: src/lib/libc/string

2023-08-11 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 11 16:06:10 UTC 2023 Modified Files: src/lib/libc/string: strlcpy.3 Log Message: strlcpy(3): don't use \*[Ge] for >= - it's wrong for source code In the PostScript output it produces the single mathematical "greater or

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 16:05:56 UTC 2023 Modified Files: src/lib/libc/string: strcpy.3 Log Message: strcpy(3): Note that strlcpy(3) is a safer replacement for strcpy(3). Suggest snprintf("%s") as a more portable alternative too. Note

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 16:05:56 UTC 2023 Modified Files: src/lib/libc/string: strcpy.3 Log Message: strcpy(3): Note that strlcpy(3) is a safer replacement for strcpy(3). Suggest snprintf("%s") as a more portable alternative too. Note

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 16:04:25 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Rework the example in an attempt to improve exposition. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 16:04:25 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Rework the example in an attempt to improve exposition. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 15:37:55 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Note strcpy(3) man page revision this forked from. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 15:37:55 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Note strcpy(3) man page revision this forked from. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 15:36:17 UTC 2023 Modified Files: src/lib/libc/string: strcpy.3 strlcpy.3 strncpy.3 Log Message: strcpy(3), strlcpy(3), strncpy(3): Use `.Tn NUL' for the zero byte. Let's be consistent within these man pages. (If

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 15:36:17 UTC 2023 Modified Files: src/lib/libc/string: strcpy.3 strlcpy.3 strncpy.3 Log Message: strcpy(3), strlcpy(3), strncpy(3): Use `.Tn NUL' for the zero byte. Let's be consistent within these man pages. (If

CVS commit: src/lib/libc/string

2023-08-11 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 11 13:18:24 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): markup tweaks NUL is a character name, not a defined name, use .Tn .Ns has implicit .No effect Use \*q for ASCII quotes (.Dq uses

CVS commit: src/lib/libc/string

2023-08-11 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 11 13:18:24 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): markup tweaks NUL is a character name, not a defined name, use .Tn .Ns has implicit .No effect Use \*q for ASCII quotes (.Dq uses

CVS commit: src/lib/libc/string

2023-08-11 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 11 13:10:59 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): use .Sm off/on around a fancy expression to avoid lots of Ns To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/libc/string

2023-08-11 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 11 13:10:59 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): use .Sm off/on around a fancy expression to avoid lots of Ns To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/libc/string

2023-08-11 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Fri Aug 11 13:07:17 UTC 2023 Modified Files: src/lib/libc/string: Makefile.inc Log Message: Install strncpy.3 to fix build To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/lib/libc/string/Makefile.inc Please

CVS commit: src/lib/libc/string

2023-08-11 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Fri Aug 11 13:07:17 UTC 2023 Modified Files: src/lib/libc/string: Makefile.inc Log Message: Install strncpy.3 to fix build To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/lib/libc/string/Makefile.inc Please

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 12:26:59 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Slightly more consistency about NUL vs '\0' in the text. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 12:26:59 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Slightly more consistency about NUL vs '\0' in the text. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 11:51:54 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Qualify example of strlcpy(3) with a major caveat. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 11:51:54 UTC 2023 Modified Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3): Qualify example of strlcpy(3) with a major caveat. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 09:39:39 UTC 2023 Modified Files: src/lib/libc/string: Makefile.inc strcpy.3 Added Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3), stpncpy(3): Split man page out of strcpy(3), stpcpy(3).

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 09:39:39 UTC 2023 Modified Files: src/lib/libc/string: Makefile.inc strcpy.3 Added Files: src/lib/libc/string: strncpy.3 Log Message: strncpy(3), stpncpy(3): Split man page out of strcpy(3), stpcpy(3).

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 08:15:30 UTC 2023 Modified Files: src/lib/libc/string: strlcpy.3 Log Message: strlcpy(3): Rework man page to clarify relation to strncpy(3). Add caveats explaining when strlcpy(3) and strlcat(3) are dangerously

CVS commit: src/lib/libc/string

2023-08-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 11 08:15:30 UTC 2023 Modified Files: src/lib/libc/string: strlcpy.3 Log Message: strlcpy(3): Rework man page to clarify relation to strncpy(3). Add caveats explaining when strlcpy(3) and strlcat(3) are dangerously

CVS commit: src/lib/libc/string

2023-01-30 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jan 31 01:42:32 UTC 2023 Modified Files: src/lib/libc/string: strchr.3 Log Message: Note that strchrnul() first appeared in glibc 2.1.1 and appeared in FreeBSD 10 before it appeared in NetBSD 8. To generate a diff of this

CVS commit: src/lib/libc/string

2023-01-30 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Jan 31 01:42:32 UTC 2023 Modified Files: src/lib/libc/string: strchr.3 Log Message: Note that strchrnul() first appeared in glibc 2.1.1 and appeared in FreeBSD 10 before it appeared in NetBSD 8. To generate a diff of this

CVS commit: src/lib/libc/string

2022-12-28 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Dec 28 14:32:04 UTC 2022 Modified Files: src/lib/libc/string: swab.c Log Message: PR lib/57141 - never decrement len without actually performing a STEP. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

CVS commit: src/lib/libc/string

2022-12-28 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Dec 28 14:32:04 UTC 2022 Modified Files: src/lib/libc/string: swab.c Log Message: PR lib/57141 - never decrement len without actually performing a STEP. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2021-10-29 Thread Joerg Sonnenberger
On Fri, Oct 29, 2021 at 10:11:57AM +, Nia Alarie wrote: > Module Name: src > Committed By: nia > Date: Fri Oct 29 10:11:57 UTC 2021 > > Modified Files: > src/lib/libc/string: wcsdup.c > > Log Message: > wcsdup(3): use reallocarr to catch integer overflow Except that no such

CVS commit: src/lib/libc/string

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:11:57 UTC 2021 Modified Files: src/lib/libc/string: wcsdup.c Log Message: wcsdup(3): use reallocarr to catch integer overflow To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/string/wcsdup.c

CVS commit: src/lib/libc/string

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:11:57 UTC 2021 Modified Files: src/lib/libc/string: wcsdup.c Log Message: wcsdup(3): use reallocarr to catch integer overflow To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/string/wcsdup.c

CVS commit: src/lib/libc/string

2021-04-14 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Apr 14 08:07:49 UTC 2021 Modified Files: src/lib/libc/string: Makefile.inc Log Message: for GCC, built memset.c with -fno-builtin. this avoids GCC 10 compiling memset() and emitting calls to memset() where it seems code that

CVS commit: src/lib/libc/string

2021-04-14 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Apr 14 08:07:49 UTC 2021 Modified Files: src/lib/libc/string: Makefile.inc Log Message: for GCC, built memset.c with -fno-builtin. this avoids GCC 10 compiling memset() and emitting calls to memset() where it seems code that

CVS commit: src/lib/libc/string

2020-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Nov 26 23:13:55 UTC 2020 Modified Files: src/lib/libc/string: strchr.3 Log Message: fix typo in manual page for strchrnul(3) To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/string/strchr.3 Please

CVS commit: src/lib/libc/string

2020-11-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Nov 26 23:13:55 UTC 2020 Modified Files: src/lib/libc/string: strchr.3 Log Message: fix typo in manual page for strchrnul(3) To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/string/strchr.3 Please

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

2020-04-05 Thread Robert Elz
Date:Sat, 4 Apr 2020 21:16:45 + From:David Holland Message-ID: <20200404211645.ga19...@netbsd.org> | I fail to see any scenario in which it's legitimate for an application | to scribble in internal data belonging to libc. Why should this be | permitted?

CVS commit: src/lib/libc/string

2020-04-04 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Apr 4 21:29:54 UTC 2020 Modified Files: src/lib/libc/string: strerror.3 Log Message: Move the note about sys_errlist[] users to COMPATIBILITY, and strengthen it. To generate a diff of this commit: cvs rdiff -u -r1.23

CVS commit: src/lib/libc/string

2020-04-04 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Apr 4 21:29:54 UTC 2020 Modified Files: src/lib/libc/string: strerror.3 Log Message: Move the note about sys_errlist[] users to COMPATIBILITY, and strengthen it. To generate a diff of this commit: cvs rdiff -u -r1.23

CVS commit: src/lib/libc/string

2020-04-04 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Apr 4 21:26:44 UTC 2020 Modified Files: src/lib/libc/string: strerror.3 Log Message: Add missing ERRORS section. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/lib/libc/string/strerror.3 Please note

CVS commit: src/lib/libc/string

2020-04-04 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Apr 4 21:26:44 UTC 2020 Modified Files: src/lib/libc/string: strerror.3 Log Message: Add missing ERRORS section. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/lib/libc/string/strerror.3 Please note

CVS commit: src/lib/libc/string

2020-04-04 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Apr 4 21:20:39 UTC 2020 Modified Files: src/lib/libc/string: strerror.3 Log Message: Minor clarification. And a typo. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/lib/libc/string

2020-04-04 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Apr 4 21:20:39 UTC 2020 Modified Files: src/lib/libc/string: strerror.3 Log Message: Minor clarification. And a typo. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

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

2020-04-04 Thread David Holland
On Thu, Mar 26, 2020 at 10:54:21AM +0700, Robert Elz wrote: > | I don't agree -- because applications shouldn't attempt to modify the > | result, it should be const. > > The only reason apps shouldn't modify the string is in case of > porting the app to an (well, some) ancient

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

2020-03-26 Thread Joerg Sonnenberger
On Thu, Mar 26, 2020 at 10:54:21AM +0700, Robert Elz wrote: > Date:Wed, 25 Mar 2020 20:51:25 + > From:David Holland > Message-ID: <20200325205125.ga11...@netbsd.org> > > | I don't agree -- because applications shouldn't attempt to modify the > | result, it

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

2020-03-25 Thread Robert Elz
Date:Wed, 25 Mar 2020 20:51:25 + From:David Holland Message-ID: <20200325205125.ga11...@netbsd.org> | I don't agree -- because applications shouldn't attempt to modify the | result, it should be const. The only reason apps shouldn't modify the string is in

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

2020-03-25 Thread David Holland
On Wed, Mar 25, 2020 at 06:50:47PM +, Robert Elz wrote: > Modified Files: > src/lib/libc/string: strerror.3 > > Log Message: > Delete the BUGS paragraph about the "missing" const qualifier for the > result type of strerror() (and strerror_l()). While that once should > really

CVS commit: src/lib/libc/string

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 25 16:15:41 UTC 2020 Modified Files: src/lib/libc/string: strerror_r.c Log Message: Arrange that strerror(-1) prints "Unknown error: -1" and not the unsigned equivalent of -1. While here, guarantee, even when !NLS, that

CVS commit: src/lib/libc/string

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 25 16:15:41 UTC 2020 Modified Files: src/lib/libc/string: strerror_r.c Log Message: Arrange that strerror(-1) prints "Unknown error: -1" and not the unsigned equivalent of -1. While here, guarantee, even when !NLS, that

CVS commit: src/lib/libc/string

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 25 16:10:17 UTC 2020 Modified Files: src/lib/libc/string: strerror.c Log Message: Protect against malloc failure corrupting errno, which is not permitted of these functions. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/string

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 25 16:10:17 UTC 2020 Modified Files: src/lib/libc/string: strerror.c Log Message: Protect against malloc failure corrupting errno, which is not permitted of these functions. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/string

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 25 18:50:47 UTC 2020 Modified Files: src/lib/libc/string: strerror.3 Log Message: Delete the BUGS paragraph about the "missing" const qualifier for the result type of strerror() (and strerror_l()). While that once should

CVS commit: src/lib/libc/string

2020-03-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 25 18:50:47 UTC 2020 Modified Files: src/lib/libc/string: strerror.3 Log Message: Delete the BUGS paragraph about the "missing" const qualifier for the result type of strerror() (and strerror_l()). While that once should

CVS commit: src/lib/libc/string

2019-03-17 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 18 02:15:21 UTC 2019 Modified Files: src/lib/libc/string: strxfrm.3 Log Message: restore the removed "function does something horrible" description, but leave the real description as well. To generate a diff of this

CVS commit: src/lib/libc/string

2019-03-17 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 18 02:15:21 UTC 2019 Modified Files: src/lib/libc/string: strxfrm.3 Log Message: restore the removed "function does something horrible" description, but leave the real description as well. To generate a diff of this

CVS commit: src/lib/libc/string

2018-07-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jul 8 17:53:42 UTC 2018 Removed Files: src/lib/libc/string: memmem.c Log Message: switch to FreeBSD's memmem To generate a diff of this commit: cvs rdiff -u -r1.2 -r0 src/lib/libc/string/memmem.c Please note that diffs

CVS commit: src/lib/libc/string

2018-07-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jul 8 17:53:42 UTC 2018 Removed Files: src/lib/libc/string: memmem.c Log Message: switch to FreeBSD's memmem To generate a diff of this commit: cvs rdiff -u -r1.2 -r0 src/lib/libc/string/memmem.c Please note that diffs

CVS commit: src/lib/libc/string

2017-08-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 23 10:27:41 UTC 2017 Modified Files: src/lib/libc/string: stresep.c Log Message: PR/52499: Justin: stresep uses memmove with of-by-one length To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/libc/string

2017-08-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 23 10:27:41 UTC 2017 Modified Files: src/lib/libc/string: stresep.c Log Message: PR/52499: Justin: stresep uses memmove with of-by-one length To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/libc/string

2017-06-17 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sat Jun 17 10:48:09 UTC 2017 Modified Files: src/lib/libc/string: strings.3 Log Message: Remove names from the NAME section which have their own man pages. This is similar to the changes made in string(3) and memory(3) man pages

CVS commit: src/lib/libc/string

2017-06-17 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sat Jun 17 10:48:09 UTC 2017 Modified Files: src/lib/libc/string: strings.3 Log Message: Remove names from the NAME section which have their own man pages. This is similar to the changes made in string(3) and memory(3) man pages

CVS commit: src/lib/libc/string

2017-02-12 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sun Feb 12 17:19:00 UTC 2017 Modified Files: src/lib/libc/string: stresep.c Log Message: overlapping strcpy is UB. use memmove from asan+ubsan To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/lib/libc/string

2017-02-12 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sun Feb 12 17:19:00 UTC 2017 Modified Files: src/lib/libc/string: stresep.c Log Message: overlapping strcpy is UB. use memmove from asan+ubsan To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/lib/libc/string

2017-01-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 10 20:25:48 UTC 2017 Modified Files: src/lib/libc/string: strerror_r.c Log Message: PR/51814: Ngie Cooper: add since sys_nerr is declared there on FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/libc/string

2017-01-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 10 20:25:48 UTC 2017 Modified Files: src/lib/libc/string: strerror_r.c Log Message: PR/51814: Ngie Cooper: add since sys_nerr is declared there on FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/libc/string

2016-10-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Oct 16 05:28:33 UTC 2016 Modified Files: src/lib/libc/string: strchr.3 Log Message: Add missing word. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/string/strchr.3 Please note that diffs are not

CVS commit: src/lib/libc/string

2016-10-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Oct 16 05:28:33 UTC 2016 Modified Files: src/lib/libc/string: strchr.3 Log Message: Add missing word. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/string/strchr.3 Please note that diffs are not

CVS commit: src/lib/libc/string

2016-10-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 15 14:30:36 UTC 2016 Modified Files: src/lib/libc/string: wcsnlen.c Log Message: Add NetBSD CVS Id on top of the wcsnlen.c file To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/string/wcsnlen.c

CVS commit: src/lib/libc/string

2016-10-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 15 14:30:36 UTC 2016 Modified Files: src/lib/libc/string: wcsnlen.c Log Message: Add NetBSD CVS Id on top of the wcsnlen.c file To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/string/wcsnlen.c

CVS commit: src/lib/libc/string

2016-10-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 12 20:01:12 UTC 2016 Modified Files: src/lib/libc/string: Makefile.inc strchr.3 Log Message: add strchrnul To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/lib/libc/string/Makefile.inc cvs rdiff -u

CVS commit: src/lib/libc/string

2016-10-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 12 20:01:12 UTC 2016 Modified Files: src/lib/libc/string: Makefile.inc strchr.3 Log Message: add strchrnul To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/lib/libc/string/Makefile.inc cvs rdiff -u

CVS commit: src/lib/libc/string

2016-08-04 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Thu Aug 4 16:36:46 UTC 2016 Modified Files: src/lib/libc/string: memset.3 Log Message: Grammar To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/string/memset.3 Please note that diffs are not public

CVS commit: src/lib/libc/string

2016-08-04 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Thu Aug 4 16:36:46 UTC 2016 Modified Files: src/lib/libc/string: memset.3 Log Message: Grammar To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/string/memset.3 Please note that diffs are not public

CVS commit: src/lib/libc/string

2016-07-14 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Jul 14 18:36:57 UTC 2016 Modified Files: src/lib/libc/string: string.3 Log Message: Fix grammar. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/string/string.3 Please note that diffs are not

CVS commit: src/lib/libc/string

2016-07-14 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Jul 14 18:36:57 UTC 2016 Modified Files: src/lib/libc/string: string.3 Log Message: Fix grammar. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/string/string.3 Please note that diffs are not

CVS commit: src/lib/libc/string

2016-07-14 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Jul 14 18:21:31 UTC 2016 Modified Files: src/lib/libc/string: popcount.3 Log Message: Fix grammar. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/string/popcount.3 Please note that diffs are not

CVS commit: src/lib/libc/string

2016-07-14 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Jul 14 18:21:31 UTC 2016 Modified Files: src/lib/libc/string: popcount.3 Log Message: Fix grammar. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/string/popcount.3 Please note that diffs are not

CVS commit: src/lib/libc/string

2016-07-14 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Jul 14 17:43:48 UTC 2016 Modified Files: src/lib/libc/string: strings.3 Log Message: Use .In for header file. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/string/strings.3 Please note that

CVS commit: src/lib/libc/string

2016-07-14 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Jul 14 17:43:48 UTC 2016 Modified Files: src/lib/libc/string: strings.3 Log Message: Use .In for header file. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/string/strings.3 Please note that

  1   2   3   >