CVS commit: src/lib/libc/stdlib

2021-02-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Feb 26 19:25:12 UTC 2021 Modified Files: src/lib/libc/stdlib: reallocarray.c Log Message: arrange for tools build To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libc/stdlib/reallocarray.c Please

CVS commit: src/lib/libc/stdlib

2020-05-03 Thread matthew green
Module Name:src Committed By: mrg Date: Sun May 3 07:32:54 UTC 2020 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: turn off TLS for mips on old jemalloc. it doesn't work. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/lib/libc/stdlib

2020-04-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Apr 22 08:48:12 UTC 2020 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Use __mc68010__ to distinguish m68000 (sun2) from other m68k ports; __mc68000__ is defined both for m68000 and m68k. To generate a diff of

CVS commit: src/lib/libc/stdlib

2020-04-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Apr 22 08:45:06 UTC 2020 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Fix previous for libhack, where _REENTRANT is not defined; arenas_map_key is used only when NO_TLS && _REENTRANT. To generate a diff of this

CVS commit: src/lib/libc/stdlib

2020-04-21 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Apr 21 22:22:55 UTC 2020 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Switch to using TLS in old jemalloc for everywhere but VAX and sun2. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

CVS commit: src/lib/libc/stdlib

2020-02-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 23 09:53:42 UTC 2020 Modified Files: src/lib/libc/stdlib: _rand48.c Log Message: Change the previous cast from unsigned int to unsigned long This code produces the same result and is consistent with the previous lines.

CVS commit: src/lib/libc/stdlib

2020-02-22 Thread Kamil Rytarowski
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 Instead of implicid promotion to signed int, explicitly cast the arguments to

CVS commit: src/lib/libc/stdlib

2020-02-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 22 13:20:21 UTC 2020 Modified Files: src/lib/libc/stdlib: rand48.3 Log Message: Reorder words to fix grammar Noted by To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdlib/rand48.3 Please

CVS commit: src/lib/libc/stdlib

2020-02-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 22 11:56:14 UTC 2020 Modified Files: src/lib/libc/stdlib: rand48.3 Log Message: rand48: Document that short integers are unsigned To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libc/stdlib/rand48.3

CVS commit: src/lib/libc/stdlib

2020-02-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 22 11:24:47 UTC 2020 Modified Files: src/lib/libc/stdlib: _rand48.c Log Message: Improve readability of __dorand48() Break long lines into shorter instructions per line. No Functional Change. To generate a diff of this

CVS commit: src/lib/libc/stdlib

2020-02-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 22 10:05:12 UTC 2020 Modified Files: src/lib/libc/stdlib: _env.c Log Message: Avoid NULL pointer arithmetics on environ _env.c:260:9, pointer expression with base 0 overflowed to 0 _env.c:260:9, load of null pointer of

CVS commit: src/lib/libc/stdlib

2020-01-13 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Jan 13 19:14:02 UTC 2020 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Fix aarch64 definition in old jemalloc There is no platform-specific reason for avoiding TLS. The tiny allocations should be aligned the

CVS commit: src/lib/libc/stdlib

2020-01-13 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Jan 13 19:14:38 UTC 2020 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Fix atfork malloc handling to include all the locks in old jemalloc. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48

CVS commit: src/lib/libc/stdlib

2019-12-06 Thread Niclas Rosenvik
Module Name:src Committed By: nros Date: Fri Dec 6 16:19:32 UTC 2019 Modified Files: src/lib/libc/stdlib: posix_memalign.3 Log Message: Fix manpage due to updated aligned_alloc behavior Since aligned_alloc does not demand that size is to be multiple of alignment

CVS commit: src/lib/libc/stdlib

2019-03-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 28 15:05:03 UTC 2019 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: fix compilation for non _REENTRANT To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/lib/libc/stdlib/jemalloc.c Please

CVS commit: src/lib/libc/stdlib

2019-03-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 4 17:30:33 UTC 2019 Modified Files: src/lib/libc/stdlib: Makefile.inc Log Message: Hook for jemalloc To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/lib/libc/stdlib/Makefile.inc Please note that

CVS commit: src/lib/libc/stdlib

2018-12-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 9 20:29:53 UTC 2018 Modified Files: src/lib/libc/stdlib: getopt_long.3 Log Message: fix grammar. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/stdlib/getopt_long.3 Please note that diffs

CVS commit: src/lib/libc/stdlib

2018-12-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 6 06:29:56 UTC 2018 Modified Files: src/lib/libc/stdlib: strtonum.c Log Message: Correct handling of minval > maxval in strtonum(3) The original implementation in OpenBSD returns "invalid" and avoids reading the input

CVS commit: src/lib/libc/stdlib

2018-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Aug 30 12:06:06 UTC 2018 Modified Files: src/lib/libc/stdlib: getsubopt.c Log Message: Allow being compiled as a tool. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/lib/libc/stdlib/getsubopt.c Please

CVS commit: src/lib/libc/stdlib

2018-08-15 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Aug 15 10:49:47 UTC 2018 Modified Files: src/lib/libc/stdlib: getsubopt.3 Log Message: PR standards/53525: move getsubopt to stdlib.h To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/lib/libc/stdlib

2018-07-27 Thread Maya Rashish
Module Name:src Committed By: maya Date: Fri Jul 27 15:15:30 UTC 2018 Modified Files: src/lib/libc/stdlib: posix_memalign.3 Log Message: it's C18, not C17. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/stdlib/posix_memalign.3 Please note that

CVS commit: src/lib/libc/stdlib

2018-07-27 Thread Maya Rashish
Module Name:src Committed By: maya Date: Fri Jul 27 14:34:44 UTC 2018 Modified Files: src/lib/libc/stdlib: posix_memalign.3 Log Message: Claim C17 (although I'm unsure), add a note about C11's requirements. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/lib/libc/stdlib

2018-07-27 Thread Maya Rashish
Module Name:src Committed By: maya Date: Fri Jul 27 13:08:47 UTC 2018 Modified Files: src/lib/libc/stdlib: aligned_alloc.c posix_memalign.3 Log Message: C17 conformance: aligned_alloc's size doesn't need to be a multiple of alignment any more. Thanks Joseph Myers for the

CVS commit: src/lib/libc/stdlib

2018-07-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jul 25 20:05:35 UTC 2018 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Avoid undefined behavior in left bit shift in jemalloc(3) Change the type of shifted value to unsigned to prevent altering the signedness

CVS commit: src/lib/libc/stdlib

2018-06-13 Thread Eitan Adler
Module Name:src Committed By: eadler Date: Wed Jun 13 09:38:32 UTC 2018 Modified Files: src/lib/libc/stdlib: atoi.3 atoi.c Log Message: libc: remove explicit cast NULL in atoi There isn't any reason to cast NULL so just remove it. A similar change was already made in

CVS commit: src/lib/libc/stdlib

2018-05-23 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed May 23 21:21:27 UTC 2018 Modified Files: src/lib/libc/stdlib: merge.c Log Message: Simplify to avoid pointless null pointer arithmetic. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/lib/libc/stdlib

2017-12-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Dec 7 22:19:17 UTC 2017 Modified Files: src/lib/libc/stdlib: strfmon.3 Log Message: Fix obvious typo (cut or whatever) - there's only one value that specifies the number of digits after the decimal point (oh, sorry, the "radix

CVS commit: src/lib/libc/stdlib

2017-12-01 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Dec 1 22:47:06 UTC 2017 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: normalise some indentation. NFC. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/lib/libc/stdlib/jemalloc.c Please note

CVS commit: src/lib/libc/stdlib

2017-11-27 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon Nov 27 23:54:28 UTC 2017 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: use calloc rather than malloc + memset 0 To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdlib/strfmon.c Please

CVS commit: src/lib/libc/stdlib

2017-11-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 27 22:43:07 UTC 2017 Modified Files: src/lib/libc/stdlib: strfmon.c Log Message: Fix various bugs with strfmon: - Avoid out of bounds access for the currency_symbol[3] when the symbol is shorter (as it happens with

CVS commit: src/lib/libc/stdlib

2017-11-16 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Nov 16 13:54:00 UTC 2017 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: The HPPA architectures (1.1 and 2.0) both define quadruple-word (128-bit) floating point types. Adjust alignment to match. To generate a

CVS commit: src/lib/libc/stdlib

2017-11-06 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Nov 6 14:26:03 UTC 2017 Modified Files: src/lib/libc/stdlib: atexit.c Log Message: Assert that __cxa_atexit is not used with NULL as DSO. Don't use __cxa_atexit directly from atexit, they have different behavior. To

CVS commit: src/lib/libc/stdlib

2017-11-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 2 19:39:33 UTC 2017 Modified Files: src/lib/libc/stdlib: atexit.c Log Message: Revert previous on demand. Rationale: The DSO handle is a required part of the (external) __cxa_atexit interface. The atexit mapping is an

CVS commit: src/lib/libc/stdlib

2017-11-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 2 18:37:15 UTC 2017 Modified Files: src/lib/libc/stdlib: atexit.c Log Message: Correct handling of __cxa_atexit(a,b,NULL) in libc In the NetBSD implementation and suggested by Itanium C++ ABI, we wrap the atexit(x) call

CVS commit: src/lib/libc/stdlib

2017-10-25 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Wed Oct 25 17:09:47 UTC 2017 Modified Files: src/lib/libc/stdlib: jemalloc.3 Log Message: Add malloc.conf to the NAME section Remove Pp before Bd at few places To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/lib/libc/stdlib

2017-10-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Oct 7 21:15:48 UTC 2017 Modified Files: src/lib/libc/stdlib: reallocarray.c Log Message: remove recallocarray To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libc/stdlib/reallocarray.c Please note

CVS commit: src/lib/libc/stdlib

2017-10-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Oct 7 19:38:35 UTC 2017 Modified Files: src/lib/libc/stdlib: reallocarray.c Log Message: add recallocarray To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libc/stdlib/reallocarray.c Please note that

CVS commit: src/lib/libc/stdlib

2017-09-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Sep 9 12:28:19 UTC 2017 Modified Files: src/lib/libc/stdlib: ptsname.3 Log Message: Correct the documentatin of ptsname_r(3) This function returns "int" not "char *": errno on failure, 0 on success. To generate a diff of

CVS commit: src/lib/libc/stdlib

2017-08-16 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Aug 16 17:41:36 UTC 2017 Modified Files: src/lib/libc/stdlib: strfmon.3 Log Message: Typo fix. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/stdlib/strfmon.3 Please note that diffs are not public

CVS commit: src/lib/libc/stdlib

2017-08-11 Thread Brian Ginsbach
Module Name:src Committed By: ginsbach Date: Sat Aug 12 01:10:04 UTC 2017 Modified Files: src/lib/libc/stdlib: merge.c Log Message: PR lib/50316: Gracefully handle a zero number of members argument. Taken from FreeBSD (which fixed this same issue long ago). XXX:

CVS commit: src/lib/libc/stdlib

2017-07-14 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Jul 14 19:24:52 UTC 2017 Modified Files: src/lib/libc/stdlib: exit.c Log Message: Drop TLS variant checks, emutls is enough for VAX and Sun2. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/lib/libc/stdlib

2017-05-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri May 19 19:55:16 UTC 2017 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: remove accidental __strong_alias additions, noticed by coypu. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

CVS commit: src/lib/libc/stdlib

2017-05-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri May 19 19:51:11 UTC 2017 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: use strerror_r_ss() To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/lib/libc/stdlib/jemalloc.c Please note that

CVS commit: src/lib/libc/stdlib

2017-05-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri May 19 19:48:19 UTC 2017 Modified Files: src/lib/libc/stdlib: qsort.c Log Message: The BSD qsort() performs tail recursion elimination on the second side of the array being partitioned to save on stack space. Greater

CVS commit: src/lib/libc/stdlib

2017-02-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 7 22:25:25 UTC 2017 Modified Files: src/lib/libc/stdlib: hcreate.3 Log Message: PR/51958: Ngie Cooper: ESRCH error description in hcreate(3) contains typo for action To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/stdlib

2017-01-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 13 04:18:54 UTC 2017 Modified Files: src/lib/libc/stdlib: malloc.c Log Message: use getpagesize(3). To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/lib/libc/stdlib/malloc.c Please note that diffs

CVS commit: src/lib/libc/stdlib

2017-01-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jan 12 02:00:42 UTC 2017 Modified Files: src/lib/libc/stdlib: malloc.c Log Message: Avoid sysconf: __sysconf -> sysctlgetmibinfo -> strtoimax -> locale, etc. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/lib/libc/stdlib

2017-01-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jan 12 01:02:09 UTC 2017 Modified Files: src/lib/libc/stdlib: malloc.c Log Message: make this smaller. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/lib/libc/stdlib/malloc.c Please note that diffs are

CVS commit: src/lib/libc/stdlib

2016-12-16 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sat Dec 17 06:17:16 UTC 2016 Modified Files: src/lib/libc/stdlib: div.3 Log Message: Fix typo To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc/stdlib/div.3 Please note that diffs are not public

CVS commit: src/lib/libc/stdlib

2016-11-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Nov 7 21:52:36 UTC 2016 Modified Files: src/lib/libc/stdlib: strtod.3 Log Message: Use the keywords `underflow' and `overflow' in ERANGE summary. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/lib/libc/stdlib

2016-11-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Nov 7 21:51:42 UTC 2016 Modified Files: src/lib/libc/stdlib: strtod.3 Log Message: Fix phrasing about `out-of-band' and `sentinel value'. Either an out-of-band channel, or an in-band sentinel value, could indicate an

CVS commit: src/lib/libc/stdlib

2016-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Nov 5 20:57:31 UTC 2016 Modified Files: src/lib/libc/stdlib: strtoul.3 Log Message: Update strtoul(3) example to reflect clarifications in strtol(3). To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/lib/libc/stdlib

2016-11-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 4 20:19:58 UTC 2016 Modified Files: src/lib/libc/stdlib: strtol.3 Log Message: Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/lib/libc/stdlib/strtol.3 Please note that

CVS commit: src/lib/libc/stdlib

2016-11-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 4 20:18:23 UTC 2016 Modified Files: src/lib/libc/stdlib: strtol.3 Log Message: Tidy up the second example too. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/lib/libc/stdlib/strtol.3 Please note

CVS commit: src/lib/libc/stdlib

2016-11-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 4 20:16:18 UTC 2016 Modified Files: src/lib/libc/stdlib: strtol.3 Log Message: Simplify error condition case. Add assertions to reflect its implications. To generate a diff of this commit: cvs rdiff -u -r1.36

CVS commit: src/lib/libc/stdlib

2016-11-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 4 20:14:31 UTC 2016 Modified Files: src/lib/libc/stdlib: strtol.3 Log Message: Distinguish invalid syntax from trailing garbage cases. Clarify. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/lib/libc/stdlib

2016-11-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 4 20:06:09 UTC 2016 Modified Files: src/lib/libc/stdlib: strtod.3 Log Message: Distinguish altogether invalid syntax from trailing garbage. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27

CVS commit: src/lib/libc/stdlib

2016-11-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 4 20:04:04 UTC 2016 Modified Files: src/lib/libc/stdlib: strtod.3 Log Message: EXIT_FAILURE police To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/lib/libc/stdlib/strtod.3 Please note that diffs

CVS commit: src/lib/libc/stdlib

2016-11-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 4 19:18:53 UTC 2016 Modified Files: src/lib/libc/stdlib: strtod.3 Log Message: Fix infinity detection with isinf(d), not d == HUGE_VAL. Negative infinity counts as overflow too. Simplify. To generate a diff of

CVS commit: src/lib/libc/stdlib

2016-11-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 4 19:10:05 UTC 2016 Modified Files: src/lib/libc/stdlib: strtod.3 Log Message: Add example for strtod. This illustrates all the cases you might be interested in and asserts theorems in those cases. To generate a

CVS commit: src/lib/libc/stdlib

2016-11-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 4 18:46:15 UTC 2016 Modified Files: src/lib/libc/stdlib: strtod.3 Log Message: Fix description of ERANGE cases again. Do use the technical terms `overflow' and `underflow', because strtod sets ERANGE precisely to

CVS commit: src/lib/libc/stdlib

2016-06-01 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Jun 1 08:32:05 UTC 2016 Modified Files: src/lib/libc/stdlib: malloc.3 Log Message: Fix manually applied patch. Mark up NULL with Dv. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/lib/libc/stdlib/malloc.3

CVS commit: src/lib/libc/stdlib

2016-05-31 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jun 1 05:40:27 UTC 2016 Modified Files: src/lib/libc/stdlib: malloc.3 Log Message: Document return value for realloc(3) when size is 0. From PR lib/47384 To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/lib/libc/stdlib

2016-05-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun May 1 21:28:21 UTC 2016 Modified Files: src/lib/libc/stdlib: strtoul.3 Log Message: Fix type name. From Abhinav. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/lib/libc/stdlib/strtoul.3 Please note that

CVS commit: src/lib/libc/stdlib

2016-04-12 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Apr 12 18:07:09 UTC 2016 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: lib/50791: Instead of using sorting the arena chunks by address only, sort by size of the longest run and address as tie break. Avoids long

CVS commit: src/lib/libc/stdlib

2016-04-06 Thread Roy Marples
Module Name:src Committed By: roy Date: Wed Apr 6 11:07:58 UTC 2016 Modified Files: src/lib/libc/stdlib: reallocarray.c Log Message: Revert prior, no idea why it was causing me problems, but it no longer does. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/lib/libc/stdlib

2016-04-05 Thread Roy Marples
Module Name:src Committed By: roy Date: Tue Apr 5 15:01:26 UTC 2016 Modified Files: src/lib/libc/stdlib: reallocarray.c Log Message: Stop calling reallocarr and just do the same bounds checking but without messing around with copying pointers which was causing ssh to

CVS commit: src/lib/libc/stdlib

2016-03-19 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Mar 17 09:43:38 UTC 2016 Modified Files: src/lib/libc/stdlib: strtod.3 Log Message: Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libc/stdlib/strtod.3 Please note that diffs are

CVS commit: src/lib/libc/stdlib

2016-03-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Mar 17 03:26:15 UTC 2016 Modified Files: src/lib/libc/stdlib: strtod.3 Log Message: strtod yields ERANGE for below-subnormal magnitudes, not underflow. For a floating-point computation, in the language of IEEE 754,

CVS commit: src/lib/libc/stdlib

2016-01-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 20 15:31:55 UTC 2016 Modified Files: src/lib/libc/stdlib: tdelete.c Log Message: PR/50681: Markiyan Kushnir: Fix memory leak when we delete the root node. It is questionable if we should return NULL in that case, but

CVS commit: src/lib/libc/stdlib

2016-01-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 20 20:47:41 UTC 2016 Modified Files: src/lib/libc/stdlib: tdelete.c Log Message: Don't return NULL when we are freeing the root node; return a free'd pointer instead. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/stdlib

2015-11-13 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Nov 13 09:50:31 UTC 2015 Modified Files: src/lib/libc/stdlib: strtoi.3 strtol.3 strtou.3 strtoul.3 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/lib/libc/stdlib

2015-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 13 16:00:32 UTC 2015 Modified Files: src/lib/libc/stdlib: strtoi.3 strtol.3 strtou.3 strtoul.3 Log Message: revert 0b documentation. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/lib/libc/stdlib

2015-11-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 12 17:30:03 UTC 2015 Modified Files: src/lib/libc/stdlib: strtoi.3 strtol.3 strtou.3 strtoul.3 Log Message: Now that our source tree has binary constants, recognize them. To generate a diff of this commit: cvs rdiff

CVS commit: src/lib/libc/stdlib

2015-11-07 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sat Nov 7 18:47:26 UTC 2015 Modified Files: src/lib/libc/stdlib: posix_memalign.3 Log Message: Use Dv for NULL. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/stdlib/posix_memalign.3 Please note that

CVS commit: src/lib/libc/stdlib

2015-11-07 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sat Nov 7 18:46:37 UTC 2015 Modified Files: src/lib/libc/stdlib: malloc.3 Log Message: Sort SEE ALSO. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/lib/libc/stdlib/malloc.3 Please note that diffs are not

CVS commit: src/lib/libc/stdlib

2015-09-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 1 19:39:57 UTC 2015 Modified Files: src/lib/libc/stdlib: getopt_long.c Log Message: ANSIfy getopt(3) - this is the REPLACE_GETOPT version from getopt_long(3) For the reference, this version still passes the current set

CVS commit: src/lib/libc/stdlib

2015-08-31 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 1 01:28:17 UTC 2015 Modified Files: src/lib/libc/stdlib: getopt_long.c Log Message: Constness correction for the getopt(3) function under REPLACE_GETOPT Use the __UNCONST() macro, which is used in the other parts for the

CVS commit: src/lib/libc/stdlib

2015-08-20 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Aug 20 20:08:05 UTC 2015 Modified Files: src/lib/libc/stdlib: reallocarr.c Log Message: Fix portability. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/stdlib/reallocarr.c Please note that diffs

CVS commit: src/lib/libc/stdlib

2015-08-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Aug 20 22:27:49 UTC 2015 Modified Files: src/lib/libc/stdlib: reallocarr.c Log Message: Minor alterations to reallocarr(3) Add comment about division. Mark error branches with __predict_false(). Reduce one branch with the OR

CVS commit: src/lib/libc/stdlib

2015-07-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jul 28 17:13:34 UTC 2015 Modified Files: src/lib/libc/stdlib: reallocarr.3 reallocarr.c Log Message: Compatibility fixes in reallocarr(3) Make this work on !NetBSD platforms: - replace __CTASSERT() with platform agnostic

CVS commit: src/lib/libc/stdlib

2015-07-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jul 26 17:09:29 UTC 2015 Modified Files: src/lib/libc/stdlib: malloc.3 Log Message: Add history of allocators Idea accepted by christos No objctions from riastradh To generate a diff of this commit: cvs rdiff -u -r1.42

CVS commit: src/lib/libc/stdlib

2015-07-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jul 26 17:00:37 UTC 2015 Modified Files: src/lib/libc/stdlib: malloc.3 Log Message: mandoc lint To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/lib/libc/stdlib/malloc.3 Please note that diffs are not

CVS commit: src/lib/libc/stdlib

2015-07-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jul 26 17:03:06 UTC 2015 Modified Files: src/lib/libc/stdlib: quick_exit.3 Log Message: From Timo Buhrmester: Fix wrong parameter description To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/lib/libc/stdlib

2015-07-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Jul 26 17:21:55 UTC 2015 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Defer using pthread keys until we are threaded. From Christos, fixes PR port-arm/50087 by allowing malloc calls prior to libpthread

CVS commit: src/lib/libc/stdlib

2015-07-26 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Jul 26 22:32:03 UTC 2015 Modified Files: src/lib/libc/stdlib: malloc.3 Log Message: Spacing; Fn - Xr for jemalloc. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/lib/libc/stdlib/malloc.3 Please note that

CVS commit: src/lib/libc/stdlib

2015-07-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jul 26 02:22:33 UTC 2015 Modified Files: src/lib/libc/stdlib: reallocarray.c Log Message: reallocarray(3) cleanup Add missing NetBSD CVS Id Don't define twice _OPENBSD_SOURCE To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/stdlib

2015-07-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jul 26 02:29:44 UTC 2015 Modified Files: src/lib/libc/stdlib: reallocarray.3 Log Message: Add license header (the NetBSD 2-clause version) with (C) TNF To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/libc/stdlib

2015-07-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jul 16 00:04:00 UTC 2015 Modified Files: src/lib/libc/stdlib: reallocarr.c Log Message: Reorder memcpy(3) and save errno This chang is for safety as memcpy(3) might change it. Approved by riastradh To generate a diff of

CVS commit: src/lib/libc/stdlib

2015-07-11 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sat Jul 11 15:50:56 UTC 2015 Modified Files: src/lib/libc/stdlib: strtoi.3 Log Message: Add missing Fc which broke man page on the web. Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/lib/libc/stdlib

2015-07-11 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sat Jul 11 15:51:33 UTC 2015 Modified Files: src/lib/libc/stdlib: strtou.3 Log Message: Add missing Fc. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/stdlib/strtou.3 Please note that diffs are not

CVS commit: src/lib/libc/stdlib

2015-05-03 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun May 3 12:29:28 UTC 2015 Modified Files: src/lib/libc/stdlib: strtoul.3 Log Message: Sort SEE ALSO. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/lib/libc/stdlib/strtoul.3 Please note that diffs are not

CVS commit: src/lib/libc/stdlib

2015-05-03 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun May 3 12:28:20 UTC 2015 Modified Files: src/lib/libc/stdlib: strtou.3 Log Message: Sort ERRORS and SEE ALSO. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/stdlib/strtou.3 Please note that diffs are

CVS commit: src/lib/libc/stdlib

2015-05-03 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun May 3 12:27:32 UTC 2015 Modified Files: src/lib/libc/stdlib: strtoi.3 Log Message: Sort ERRORS and SEE ALSO. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/stdlib/strtoi.3 Please note that diffs are

CVS commit: src/lib/libc/stdlib

2015-04-18 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sat Apr 18 21:44:31 UTC 2015 Modified Files: src/lib/libc/stdlib: atexit.c Log Message: Add __aeabi_atexit alias for another case of NIH on ARM. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/lib/libc/stdlib

2015-03-11 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Mar 11 09:57:35 UTC 2015 Modified Files: src/lib/libc/stdlib: strtol.3 Log Message: Use existing month for Dd. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/lib/libc/stdlib/strtol.3 Please note that diffs

CVS commit: src/lib/libc/stdlib

2015-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 10 12:57:56 UTC 2015 Modified Files: src/lib/libc/stdlib: strtonum.c Log Message: The OpenBSD strtonum() only accepts base 10 keywords. (Kamil Rytarowski) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/libc/stdlib

2015-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 10 13:00:58 UTC 2015 Modified Files: src/lib/libc/stdlib: strtol.3 strtoul.3 Log Message: PR/49640: Kamil Rytarowski: Improve error printing To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/lib/libc/stdlib

2015-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 10 13:05:13 UTC 2015 Modified Files: src/lib/libc/stdlib: reallocarray.c Log Message: Behave in an OpenBSD compatible way for 0. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/libc/stdlib

2015-02-19 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Feb 19 23:08:21 UTC 2015 Modified Files: src/lib/libc/stdlib: reallocarr.3 Log Message: Add EXAMPLES section, from Youri Mouton. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

  1   2   3   >