CVS commit: src/lib/libc/stdlib

2024-01-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 27 17:58:36 UTC 2024 Modified Files: src/lib/libc/stdlib: Makefile.inc Log Message: fix i386 lint To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/lib/libc/stdlib/Makefile.inc Please note that diffs

CVS commit: src/lib/libc/stdlib

2024-01-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 27 17:58:36 UTC 2024 Modified Files: src/lib/libc/stdlib: Makefile.inc Log Message: fix i386 lint To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/lib/libc/stdlib/Makefile.inc Please note that diffs

CVS commit: src/lib/libc/stdlib

2024-01-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 20 16:45:07 UTC 2024 Modified Files: src/lib/libc/stdlib: Makefile.inc strtoi.3 Removed Files: src/lib/libc/stdlib: strtou.3 Log Message: generate strtou.3 from strtoi.3, grammar police To generate a diff of

CVS commit: src/lib/libc/stdlib

2024-01-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 20 16:45:07 UTC 2024 Modified Files: src/lib/libc/stdlib: Makefile.inc strtoi.3 Removed Files: src/lib/libc/stdlib: strtou.3 Log Message: generate strtou.3 from strtoi.3, grammar police To generate a diff of

CVS commit: src/lib/libc/stdlib

2024-01-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 19 18:41:38 UTC 2024 Modified Files: src/lib/libc/stdlib: getopt.c getopt_long.c Log Message: add some const To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/stdlib/getopt.c cvs rdiff -u

CVS commit: src/lib/libc/stdlib

2024-01-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 19 18:41:30 UTC 2024 Modified Files: src/lib/libc/stdlib: Makefile.inc Log Message: Add lint flags for jemalloc To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/lib/libc/stdlib/Makefile.inc Please

CVS commit: src/lib/libc/stdlib

2024-01-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 19 18:41:38 UTC 2024 Modified Files: src/lib/libc/stdlib: getopt.c getopt_long.c Log Message: add some const To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/stdlib/getopt.c cvs rdiff -u

CVS commit: src/lib/libc/stdlib

2024-01-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 19 18:41:30 UTC 2024 Modified Files: src/lib/libc/stdlib: Makefile.inc Log Message: Add lint flags for jemalloc To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/lib/libc/stdlib/Makefile.inc Please

CVS commit: src/lib/libc/stdlib

2023-12-13 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Dec 13 23:53:50 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: make malloc_usable_size() visible with old jemalloc. it's in and applications like firefox expect it. XXX: pullup-10 To generate a diff

CVS commit: src/lib/libc/stdlib

2023-12-13 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Dec 13 23:53:50 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: make malloc_usable_size() visible with old jemalloc. it's in and applications like firefox expect it. XXX: pullup-10 To generate a diff

CVS commit: src/lib/libc/stdlib

2023-11-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 27 19:46:14 UTC 2023 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: Restore original code now that the broken test has been fixed. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/lib/libc/stdlib

2023-11-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 27 19:46:14 UTC 2023 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: Restore original code now that the broken test has been fixed. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/lib/libc/stdlib

2023-11-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 19 18:57:11 UTC 2023 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: minimize diffs with FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/stdlib/strfmon.c Please note

CVS commit: src/lib/libc/stdlib

2023-11-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 19 18:57:11 UTC 2023 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: minimize diffs with FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/stdlib/strfmon.c Please note

CVS commit: src/lib/libc/stdlib

2023-10-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Oct 14 19:39:34 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: A few more branch hints. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/lib/libc/stdlib/jemalloc.c Please note that diffs

CVS commit: src/lib/libc/stdlib

2023-10-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Oct 14 19:39:34 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: A few more branch hints. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/lib/libc/stdlib/jemalloc.c Please note that diffs

CVS commit: src/lib/libc/stdlib

2023-10-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Oct 14 19:38:51 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Cherry pick a fix from FreeBSD: commit 80bc871bdd4a8254ce19a65a54c8c918dd3ddd11 Author: Konstantin Belousov Date: Sat Sep 12 18:16:46 2009

CVS commit: src/lib/libc/stdlib

2023-10-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Oct 14 19:38:51 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Cherry pick a fix from FreeBSD: commit 80bc871bdd4a8254ce19a65a54c8c918dd3ddd11 Author: Konstantin Belousov Date: Sat Sep 12 18:16:46 2009

CVS commit: src/lib/libc/stdlib

2023-10-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Oct 14 19:37:24 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Cherry pick a fix from FreeBSD: commit 52d7a117c0fe8bd0226d964f4272131700035f12 Author: Jason Evans Date: Thu Aug 14 17:03:29 2008 +

CVS commit: src/lib/libc/stdlib

2023-10-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Oct 14 19:37:24 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Cherry pick a fix from FreeBSD: commit 52d7a117c0fe8bd0226d964f4272131700035f12 Author: Jason Evans Date: Thu Aug 14 17:03:29 2008 +

CVS commit: src/lib/libc/stdlib

2023-10-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Oct 14 19:36:17 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Fix a bug in the rbtree conversion. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/lib/libc/stdlib/jemalloc.c Please note

CVS commit: src/lib/libc/stdlib

2023-10-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Oct 14 19:36:17 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Fix a bug in the rbtree conversion. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/lib/libc/stdlib/jemalloc.c Please note

CVS commit: src/lib/libc/stdlib

2023-10-14 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Oct 14 06:29:10 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: fix compile error on 32-bit platforms. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/lib/libc/stdlib/jemalloc.c Please

CVS commit: src/lib/libc/stdlib

2023-10-14 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Oct 14 06:29:10 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: fix compile error on 32-bit platforms. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/lib/libc/stdlib/jemalloc.c Please

re: CVS commit: src/lib/libc/stdlib

2023-10-13 Thread matthew green
> Minor changes to jemalloc100 (the old one that only vax etc currently uses). thanks. i'm still using this version on a bunch of modern machines. new jemalloc was problematic for a few things for me a number of years ago and i keep meaning to test again, but for now i'm still mostly using this

CVS commit: src/lib/libc/stdlib

2023-10-13 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Oct 13 20:57:30 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Convert to use Matt Thomas's rbtree, which the env code probably already pulls into libc. amd64 object size before and after: text

CVS commit: src/lib/libc/stdlib

2023-10-13 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Oct 13 20:57:30 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Convert to use Matt Thomas's rbtree, which the env code probably already pulls into libc. amd64 object size before and after: text

CVS commit: src/lib/libc/stdlib

2023-10-13 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Oct 13 19:30:28 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Minor changes to jemalloc100 (the old one that only vax etc currently uses). - Don't use TLS nor pretend to hash out arenas to reduce lock

CVS commit: src/lib/libc/stdlib

2023-10-13 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Oct 13 19:30:28 UTC 2023 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Minor changes to jemalloc100 (the old one that only vax etc currently uses). - Don't use TLS nor pretend to hash out arenas to reduce lock

CVS commit: src/lib/libc/stdlib

2023-09-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Sep 28 10:03:41 UTC 2023 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: Fix padding for formats with mutliple padded values. PR lib/57633, fix from FreeBSD. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/stdlib

2023-09-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Sep 28 10:03:41 UTC 2023 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: Fix padding for formats with mutliple padded values. PR lib/57633, fix from FreeBSD. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/stdlib

2023-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 21 19:27:14 UTC 2023 Modified Files: src/lib/libc/stdlib: hcreate.3 Log Message: hcreate.3: fix typo To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/stdlib/hcreate.3 Please note that diffs

CVS commit: src/lib/libc/stdlib

2023-02-21 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 21 19:27:14 UTC 2023 Modified Files: src/lib/libc/stdlib: hcreate.3 Log Message: hcreate.3: fix typo To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/stdlib/hcreate.3 Please note that diffs

CVS commit: src/lib/libc/stdlib

2022-11-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Nov 30 04:35:53 UTC 2022 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/lib/libc/stdlib/jemalloc.c Please note that diffs

CVS commit: src/lib/libc/stdlib

2022-11-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Nov 30 04:35:53 UTC 2022 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/lib/libc/stdlib/jemalloc.c Please note that diffs

CVS commit: src/lib/libc/stdlib

2022-11-27 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sun Nov 27 20:17:20 UTC 2022 Modified Files: src/lib/libc/stdlib: reallocarray.3 Log Message: reallocarray.3: minor grammar and style tweaks To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/lib/libc/stdlib

2022-11-27 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sun Nov 27 20:17:20 UTC 2022 Modified Files: src/lib/libc/stdlib: reallocarray.3 Log Message: reallocarray.3: minor grammar and style tweaks To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/lib/libc/stdlib

2022-11-15 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Nov 15 22:17:53 UTC 2022 Modified Files: src/lib/libc/stdlib: posix_openpt.3 Log Message: posix_openpt.3: add a history section To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/lib/libc/stdlib

2022-11-15 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Nov 15 22:17:53 UTC 2022 Modified Files: src/lib/libc/stdlib: posix_openpt.3 Log Message: posix_openpt.3: add a history section To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/lib/libc/stdlib

2022-10-03 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Oct 4 01:46:18 UTC 2022 Modified Files: src/lib/libc/stdlib: posix_openpt.3 Log Message: posix_openpt.3: reflect changes from r. 1.45 of tty_ptm.c To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/lib/libc/stdlib

2022-10-03 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Oct 4 01:46:18 UTC 2022 Modified Files: src/lib/libc/stdlib: posix_openpt.3 Log Message: posix_openpt.3: reflect changes from r. 1.45 of tty_ptm.c To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

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

2022-09-29 Thread Robert Elz
Date:Thu, 29 Sep 2022 08:18:49 -0400 From:Christos Zoulas Message-ID: | Yes, I had forgotten about the need to do this explicitly... | > On Sep 28, 2022, at 10:23 PM, Robert Elz wrote: | > | > Apologies, I did not read the code closely enough, there must

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

2022-09-29 Thread Christos Zoulas
Yes, I had forgotten about the need to do this explicitly... christos > On Sep 28, 2022, at 10:23 PM, Robert Elz wrote: > > Apologies, I did not read the code closely enough, there must be a bug > in the way the clone file descriptor is created. > > kre signature.asc Description: Message

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

2022-09-28 Thread Robert Elz
Apologies, I did not read the code closely enough, there must be a bug in the way the clone file descriptor is created. kre

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

2022-09-28 Thread Robert Elz
Date:Wed, 28 Sep 2022 20:48:53 -0400 From:"David H. Gutteridge" Message-ID: <9c9c8e9d9384338320b47dabfdc94...@gutteridge.ca> | (O_CLOEXEC, on the other hand, is ignored, at the moment.) No it isn't, your test is faulty, O_CLOEXEC is a different kind of flag,

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

2022-09-28 Thread David H. Gutteridge
On Wed, 28 Sep 2022, at 15:07:41 - (UTC), Christos Zoulas wrote: In article <20220928003547.D2375FA92%cvs.NetBSD.org@localhost>, David H. Gutteridge wrote: -=-=-=-=-=- Module Name:src Committed By: gutteridge Date: Wed Sep 28 00:35:47 UTC 2022 Modified Files:

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

2022-09-28 Thread Christos Zoulas
In article <20220928003547.d2375f...@cvs.netbsd.org>, David H. Gutteridge wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: gutteridge >Date: Wed Sep 28 00:35:47 UTC 2022 > >Modified Files: > src/lib/libc/stdlib: posix_openpt.3 > >Log Message: >posix_openpt.3: reflect flag

CVS commit: src/lib/libc/stdlib

2022-09-27 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Sep 28 00:35:47 UTC 2022 Modified Files: src/lib/libc/stdlib: posix_openpt.3 Log Message: posix_openpt.3: reflect flag changes from r. 1.44 of tty_ptm.c Some flags are now accepted, others are still ignored. (E.g., other

CVS commit: src/lib/libc/stdlib

2022-09-27 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Sep 28 00:35:47 UTC 2022 Modified Files: src/lib/libc/stdlib: posix_openpt.3 Log Message: posix_openpt.3: reflect flag changes from r. 1.44 of tty_ptm.c Some flags are now accepted, others are still ignored. (E.g., other

CVS commit: src/lib/libc/stdlib

2022-09-06 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Sep 6 22:54:41 UTC 2022 Modified Files: src/lib/libc/stdlib: posix_openpt.3 Log Message: posix_openpt.3: add caveats about oflags The NetBSD implementation differs from other BSDs in that it does not return EINVAL if

CVS commit: src/lib/libc/stdlib

2022-09-06 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Sep 6 22:54:41 UTC 2022 Modified Files: src/lib/libc/stdlib: posix_openpt.3 Log Message: posix_openpt.3: add caveats about oflags The NetBSD implementation differs from other BSDs in that it does not return EINVAL if

CVS commit: src/lib/libc/stdlib

2022-08-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 31 12:18:41 UTC 2022 Modified Files: src/lib/libc/stdlib: reallocarr.3 Log Message: reallocarr(3): Touch up xrefs. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/stdlib/reallocarr.3 Please

CVS commit: src/lib/libc/stdlib

2022-08-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 31 12:18:41 UTC 2022 Modified Files: src/lib/libc/stdlib: reallocarr.3 Log Message: reallocarr(3): Touch up xrefs. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/stdlib/reallocarr.3 Please

CVS commit: src/lib/libc/stdlib

2022-08-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 31 12:17:14 UTC 2022 Modified Files: src/lib/libc/stdlib: reallocarr.3 Log Message: reallocarr(3): Bump date. Note overflow is handled internally. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/lib/libc/stdlib

2022-08-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 31 12:17:14 UTC 2022 Modified Files: src/lib/libc/stdlib: reallocarr.3 Log Message: reallocarr(3): Bump date. Note overflow is handled internally. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/lib/libc/stdlib

2022-08-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 31 12:10:05 UTC 2022 Modified Files: src/lib/libc/stdlib: reallocarr.3 Log Message: reallocarr(3): Clarify semantics. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libc/stdlib/reallocarr.3

CVS commit: src/lib/libc/stdlib

2022-08-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 31 12:10:05 UTC 2022 Modified Files: src/lib/libc/stdlib: reallocarr.3 Log Message: reallocarr(3): Clarify semantics. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libc/stdlib/reallocarr.3

CVS commit: src/lib/libc/stdlib

2022-08-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Aug 18 11:05:02 UTC 2022 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: fix whitespace prefix behavior To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/stdlib/strfmon.c Please note

CVS commit: src/lib/libc/stdlib

2022-08-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Aug 18 11:05:02 UTC 2022 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: fix whitespace prefix behavior To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/stdlib/strfmon.c Please note

CVS commit: src/lib/libc/stdlib

2022-08-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 17 09:32:56 UTC 2022 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: PR/56967: John Zaitseff: Reduce diff with FreeBSD, fixes various bugs. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/lib/libc/stdlib

2022-08-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 17 09:32:56 UTC 2022 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: PR/56967: John Zaitseff: Reduce diff with FreeBSD, fixes various bugs. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/lib/libc/stdlib

2022-03-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 14 22:14:19 UTC 2022 Modified Files: src/lib/libc/stdlib: system.c Log Message: system(3): Simplify initialization of argp. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/lib/libc/stdlib/system.c

CVS commit: src/lib/libc/stdlib

2022-03-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 14 22:14:19 UTC 2022 Modified Files: src/lib/libc/stdlib: system.c Log Message: system(3): Simplify initialization of argp. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/lib/libc/stdlib/system.c

CVS commit: src/lib/libc/stdlib

2022-03-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 14 22:06:28 UTC 2022 Modified Files: src/lib/libc/stdlib: system.c Log Message: system(3): Switch from vfork/execve to posix_spawn. Changes by me: - Minor style nits. - Set errno on posix_spawn failure. - Handle edge

CVS commit: src/lib/libc/stdlib

2022-03-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 14 22:06:28 UTC 2022 Modified Files: src/lib/libc/stdlib: system.c Log Message: system(3): Switch from vfork/execve to posix_spawn. Changes by me: - Minor style nits. - Set errno on posix_spawn failure. - Handle edge

CVS commit: src/lib/libc/stdlib

2022-03-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 13 01:44:37 UTC 2022 Modified Files: src/lib/libc/stdlib: hcreate.c Log Message: Avoid referencing uninit'd memory. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdlib/hcreate.c Please note

CVS commit: src/lib/libc/stdlib

2022-03-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 13 01:44:37 UTC 2022 Modified Files: src/lib/libc/stdlib: hcreate.c Log Message: Avoid referencing uninit'd memory. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdlib/hcreate.c Please note

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

2022-03-12 Thread Tobias Nygren
On Sat, 12 Mar 2022 08:26:01 + Nia Alarie wrote: > Module Name: src > Committed By: nia > Date: Sat Mar 12 08:26:01 UTC 2022 > > Modified Files: > src/lib/libc/stdlib: hcreate.c > > Log Message: > hcreate(3): use reallocarr instead of malloc(x * y) Caution: malloc(0) and

CVS commit: src/lib/libc/stdlib

2022-03-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Mar 12 08:44:39 UTC 2022 Modified Files: src/lib/libc/stdlib: _env.c Log Message: _env: use reallocarr To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/stdlib/_env.c Please note that diffs are not

CVS commit: src/lib/libc/stdlib

2022-03-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Mar 12 08:44:39 UTC 2022 Modified Files: src/lib/libc/stdlib: _env.c Log Message: _env: use reallocarr To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/stdlib/_env.c Please note that diffs are not

CVS commit: src/lib/libc/stdlib

2022-03-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Mar 12 08:26:01 UTC 2022 Modified Files: src/lib/libc/stdlib: hcreate.c Log Message: hcreate(3): use reallocarr instead of malloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/lib/libc/stdlib

2022-03-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sat Mar 12 08:26:01 UTC 2022 Modified Files: src/lib/libc/stdlib: hcreate.c Log Message: hcreate(3): use reallocarr instead of malloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

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

2022-02-12 Thread Warner Losh
On Sat, Feb 12, 2022, 11:52 AM Taylor R Campbell < campbell+netbsd-source-change...@mumble.net> wrote: > > Date: Sun, 13 Feb 2022 05:44:38 +1100 > > from: matthew green > > > > "Roland Illig" writes: > > > Module Name:src > > > Committed By: rillig > > > Date: Fri Feb

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

2022-02-12 Thread Roland Illig
Am 12.02.2022 um 20:10 schrieb Warner Losh: I thought the rule was don't make purely whitespace changes UNLESS you plan on making other changes to (or are fixing an oops you just made). If that's the case, separate the two commits. That sounds like a useful rule, I'll stick to it. Roland

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

2022-02-12 Thread Taylor R Campbell
> Date: Sun, 13 Feb 2022 05:44:38 +1100 > from: matthew green > > "Roland Illig" writes: > > Module Name:src > > Committed By: rillig > > Date: Fri Feb 11 21:36:46 UTC 2022 > > > > Modified Files: > > src/lib/libc/stdlib: getenv.c > > > > Log Message: > >

re: CVS commit: src/lib/libc/stdlib

2022-02-12 Thread matthew green
"Roland Illig" writes: > Module Name: src > Committed By: rillig > Date: Fri Feb 11 21:36:46 UTC 2022 > > Modified Files: > src/lib/libc/stdlib: getenv.c > > Log Message: > libc/getenv: remove trailing whitespace > > No binary change. please avoid purely whitespace changes unless

CVS commit: src/lib/libc/stdlib

2022-02-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 11 21:36:46 UTC 2022 Modified Files: src/lib/libc/stdlib: getenv.c Log Message: libc/getenv: remove trailing whitespace No binary change. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/lib/libc/stdlib

2022-02-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Feb 11 21:36:46 UTC 2022 Modified Files: src/lib/libc/stdlib: getenv.c Log Message: libc/getenv: remove trailing whitespace No binary change. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/lib/libc/stdlib

2022-01-04 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Jan 4 19:36:16 UTC 2022 Modified Files: src/lib/libc/stdlib: getopt_long.3 Log Message: getopt_long(3): "index" is an argument, not a field. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/lib/libc/stdlib

2022-01-04 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Jan 4 19:36:16 UTC 2022 Modified Files: src/lib/libc/stdlib: getopt_long.3 Log Message: getopt_long(3): "index" is an argument, not a field. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/lib/libc/stdlib

2022-01-04 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Jan 4 19:32:16 UTC 2022 Modified Files: src/lib/libc/stdlib: getopt_long.3 Log Message: getopt_long(3): use NULL, not 0, for flag in the example. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/lib/libc/stdlib

2022-01-04 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Tue Jan 4 19:32:16 UTC 2022 Modified Files: src/lib/libc/stdlib: getopt_long.3 Log Message: getopt_long(3): use NULL, not 0, for flag in the example. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/lib/libc/stdlib

2022-01-01 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Jan 2 03:46:40 UTC 2022 Modified Files: src/lib/libc/stdlib: ptsname.3 Log Message: ptsname(3): fix equivalence example The buffer is static, don't make it appear that we are returning a pointer to a local variable. To

CVS commit: src/lib/libc/stdlib

2022-01-01 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Jan 2 03:46:40 UTC 2022 Modified Files: src/lib/libc/stdlib: ptsname.3 Log Message: ptsname(3): fix equivalence example The buffer is static, don't make it appear that we are returning a pointer to a local variable. To

CVS commit: src/lib/libc/stdlib

2021-12-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 5 14:25:04 UTC 2021 Modified Files: src/lib/libc/stdlib: jemalloc.3 Log Message: jemalloc.3: fix malformed CVS Id To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libc/stdlib/jemalloc.3 Please

CVS commit: src/lib/libc/stdlib

2021-12-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 5 14:25:04 UTC 2021 Modified Files: src/lib/libc/stdlib: jemalloc.3 Log Message: jemalloc.3: fix malformed CVS Id To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libc/stdlib/jemalloc.3 Please

CVS commit: src/lib/libc/stdlib

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:29:51 UTC 2021 Modified Files: src/lib/libc/stdlib: radixsort.c Log Message: radixsort(3): use reallocarr instead of malloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/lib/libc/stdlib

2021-10-29 Thread Nia Alarie
Module Name:src Committed By: nia Date: Fri Oct 29 10:29:51 UTC 2021 Modified Files: src/lib/libc/stdlib: radixsort.c Log Message: radixsort(3): use reallocarr instead of malloc(x * y) To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/lib/libc/stdlib

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 13:12:16 UTC 2021 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Remove lint workarounds To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/lib/libc/stdlib/jemalloc.c Please note that

CVS commit: src/lib/libc/stdlib

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 13:12:16 UTC 2021 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Remove lint workarounds To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/lib/libc/stdlib/jemalloc.c Please note that

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

2020-02-23 Thread Valery Ushakov
On Sun, Feb 23, 2020 at 10:57:28 +0100, Kamil Rytarowski wrote: > On 23.02.2020 08:46, Martin Husemann wrote: > > > Source code consistency is a very important stylistic plus, every break of > > that should be accompanied by a comment. > > Done. Thank you. -uwe

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

2020-02-23 Thread Kamil Rytarowski
On 23.02.2020 08:46, Martin Husemann wrote: > On Sun, Feb 23, 2020 at 03:35:19AM +0100, Kamil Rytarowski wrote: >> Algorithm would be changed from calculating on 32bit numbers with signed >> integer overflows to an algorithm calculating on 64bit numbers. The >> __dorand48() function truncates the

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

2020-02-22 Thread Martin Husemann
On Sun, Feb 23, 2020 at 03:35:19AM +0100, Kamil Rytarowski wrote: > Algorithm would be changed from calculating on 32bit numbers with signed > integer overflows to an algorithm calculating on 64bit numbers. The > __dorand48() function truncates the result to least significant 16bits > only so it

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

2020-02-22 Thread Valery Ushakov
On Sun, Feb 23, 2020 at 03:35:19 +0100, Kamil Rytarowski wrote: > On 23.02.2020 03:20, Valery Ushakov wrote: > > On Sun, Feb 23, 2020 at 02:51:49 +0100, Kamil Rytarowski wrote: > > > >> On 23.02.2020 02:29, Valery Ushakov wrote: > >>> On Sat, Feb 22, 2020 at 14:07:57 +, Kamil Rytarowski

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

2020-02-22 Thread Kamil Rytarowski
On 23.02.2020 03:20, Valery Ushakov wrote: > On Sun, Feb 23, 2020 at 02:51:49 +0100, Kamil Rytarowski wrote: > >> On 23.02.2020 02:29, Valery Ushakov wrote: >>> On Sat, Feb 22, 2020 at 14:07:57 +, Kamil Rytarowski wrote: >>> Module Name: src Committed By: kamil Date:

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

2020-02-22 Thread Valery Ushakov
On Sun, Feb 23, 2020 at 02:51:49 +0100, Kamil Rytarowski wrote: > On 23.02.2020 02:29, Valery Ushakov wrote: > > On Sat, Feb 22, 2020 at 14:07:57 +, Kamil Rytarowski wrote: > > > >> Module Name: src > >> Committed By: kamil > >> Date: Sat Feb 22 14:07:57 UTC 2020 > >>

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

2020-02-22 Thread Kamil Rytarowski
On 23.02.2020 02:29, Valery Ushakov wrote: > On Sat, Feb 22, 2020 at 14:07:57 +, Kamil Rytarowski wrote: > >> Module Name: src >> Committed By:kamil >> Date:Sat Feb 22 14:07:57 UTC 2020 >> >> Modified Files: >> src/lib/libc/stdlib: _rand48.c >> >> Log Message: >>

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

2020-02-22 Thread Valery Ushakov
On Sat, Feb 22, 2020 at 14:07:57 +, Kamil Rytarowski wrote: > Module Name: src > Committed By: kamil > Date: Sat Feb 22 14:07:57 UTC 2020 > > Modified Files: > src/lib/libc/stdlib: _rand48.c > > Log Message: > Avoid undefined behavior in the rand48(3) implementation > >

CVS commit: src/lib/libc/stdlib

2019-09-01 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Sun Sep 1 19:37:21 UTC 2019 Modified Files: src/lib/libc/stdlib: exit.3 Log Message: Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/lib/libc/stdlib

2019-09-01 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Sun Sep 1 19:37:21 UTC 2019 Modified Files: src/lib/libc/stdlib: exit.3 Log Message: Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

  1   2   >