diff options
author | Cem Keylan <cem@ckyln.com> | 2021-07-14 14:39:31 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-14 14:39:31 +0300 |
commit | 89c23755c8ab5d8c5bbbfa6e40eb0c6bda109dad (patch) | |
tree | 0619d977ce4ceecca0523f20a0609a293440e030 /lib/libc/stdlib | |
parent | 0ea3661a6ba0baaa39b95e836e8f2c87e2f4c20f (diff) | |
download | otools-89c23755c8ab5d8c5bbbfa6e40eb0c6bda109dad.tar.gz |
update CVS
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/CVS/Entries | 108 | ||||
-rw-r--r-- | lib/libc/stdlib/CVS/Repository | 1 | ||||
-rw-r--r-- | lib/libc/stdlib/CVS/Root | 1 | ||||
-rw-r--r-- | lib/libc/stdlib/recallocarray.c | 4 |
4 files changed, 112 insertions, 2 deletions
diff --git a/lib/libc/stdlib/CVS/Entries b/lib/libc/stdlib/CVS/Entries new file mode 100644 index 0000000..1c782e8 --- /dev/null +++ b/lib/libc/stdlib/CVS/Entries @@ -0,0 +1,108 @@ +/Makefile.inc/1.64/Sat Dec 16 20:06:55 2017// +/_Exit.c/1.3/Wed Apr 3 03:39:29 2013// +/_rand48.c/1.3/Mon Aug 8 08:05:36 2005// +/a64l.3/1.13/Fri Jan 25 00:19:25 2019// +/a64l.c/1.5/Mon Aug 8 08:05:36 2005// +/abort.3/1.11/Wed May 14 21:54:20 2014// +/abort.c/1.21/Sat Aug 12 22:59:52 2017// +/abs.3/1.12/Fri Jan 18 07:32:17 2019// +/abs.c/1.6/Sun Sep 13 08:31:47 2015// +/alloca.3/1.14/Sat Jan 17 18:01:43 2015// +/atexit.3/1.12/Thu Jun 27 16:30:39 2019// +/atexit.c/1.27/Sat Dec 16 20:06:56 2017// +/atexit.h/1.12/Sat Dec 16 20:06:56 2017// +/atof.3/1.9/Wed Jan 16 12:55:49 2019// +/atof.c/1.5/Mon Aug 8 08:05:36 2005// +/atoi.3/1.12/Thu Sep 10 15:16:43 2015// +/atoi.c/1.6/Sun Sep 13 08:31:47 2015// +/atol.3/1.10/Thu Sep 10 15:16:43 2015// +/atol.c/1.5/Mon Aug 8 08:05:36 2005// +/atoll.3/1.8/Thu Sep 10 15:16:43 2015// +/atoll.c/1.3/Mon Aug 8 08:05:36 2005// +/bsearch.3/1.10/Mon Nov 30 17:03:05 2015// +/bsearch.c/1.8/Sat Oct 22 19:19:34 2016// +/div.3/1.12/Sun Aug 14 23:18:03 2016// +/div.c/1.6/Sun Sep 13 08:31:47 2015// +/drand48.c/1.7/Mon Sep 14 13:30:17 2015// +/ecvt.3/1.13/Fri Jan 25 00:19:25 2019// +/ecvt.c/1.11/Fri Jan 25 00:19:25 2019// +/erand48.c/1.5/Mon Sep 14 13:30:17 2015// +/exit.3/1.16/Sun Nov 30 21:21:59 2014// +/exit.c/1.14/Sat Aug 12 22:59:52 2017// +/gcvt.c/1.14/Fri Jan 25 00:19:25 2019// +/getenv.3/1.21/Fri Jul 11 09:24:03 2014// +/getenv.c/1.12/Sun Mar 13 18:34:21 2016// +/getopt.3/1.46/Mon Jan 4 19:43:13 2016// +/getopt_long.3/1.22/Mon Jan 13 18:05:10 2020// +/getopt_long.c/1.32/Wed May 27 22:25:09 2020// +/getsubopt.3/1.14/Sat Nov 15 14:41:02 2014// +/getsubopt.c/1.4/Mon Aug 8 08:05:36 2005// +/hcreate.3/1.8/Tue Jan 30 11:37:58 2018// +/hcreate.c/1.7/Sun May 29 20:47:49 2016// +/heapsort.c/1.11/Sat May 20 12:48:56 2017// +/icdb.c/1.8/Sun Sep 4 16:56:02 2016// +/icdb_new.3/1.2/Sun Sep 4 19:05:09 2016// +/imaxabs.3/1.8/Fri Jan 18 07:32:17 2019// +/imaxabs.c/1.1/Fri Jan 13 17:58:09 2006// +/imaxdiv.3/1.7/Sun Aug 14 23:18:03 2016// +/imaxdiv.c/1.1/Fri Jan 13 17:58:09 2006// +/insque.3/1.12/Sun Apr 26 16:36:14 2020// +/insque.c/1.3/Fri Aug 15 04:14:36 2014// +/jrand48.c/1.3/Mon Aug 8 08:05:36 2005// +/l64a.c/1.5/Mon Aug 8 08:05:36 2005// +/labs.3/1.17/Fri Jan 18 07:32:17 2019// +/labs.c/1.5/Mon Aug 8 08:05:36 2005// +/lcong48.c/1.6/Sun Sep 13 08:31:47 2015// +/ldiv.3/1.13/Sun Aug 14 23:18:03 2016// +/ldiv.c/1.5/Mon Aug 8 08:05:36 2005// +/llabs.c/1.4/Sun Aug 14 23:18:03 2016// +/lldiv.3/1.8/Tue Aug 1 14:57:02 2017// +/lldiv.c/1.2/Sun Aug 14 23:18:03 2016// +/lrand48.c/1.5/Thu Aug 27 04:33:31 2015// +/lsearch.3/1.14/Mon Nov 30 17:03:05 2015// +/lsearch.c/1.5/Fri Jul 18 04:16:09 2014// +/malloc.3/1.126/Sat Sep 14 13:16:50 2019// +/malloc.c/1.263/Sun Sep 6 06:41:03 2020// +/merge.c/1.10/Sun Jun 21 03:20:56 2015// +/mrand48.c/1.6/Thu Aug 27 04:33:31 2015// +/nrand48.c/1.3/Mon Aug 8 08:05:37 2005// +/posix_memalign.3/1.4/Sat May 13 07:11:29 2017// +/posix_openpt.3/1.4/Fri Jan 25 00:19:25 2019// +/posix_pty.c/1.3/Fri Jan 25 00:19:25 2019// +/ptsname.3/1.2/Tue Dec 4 18:42:16 2012// +/qsort.3/1.27/Sat Feb 8 01:09:57 2020// +/qsort.c/1.18/Tue May 30 14:54:09 2017// +/radixsort.3/1.13/Thu Jan 29 01:46:31 2015// +/radixsort.c/1.9/Sun Sep 2 15:19:17 2007// +/rand.3/1.19/Tue Dec 9 21:55:39 2014// +/rand.c/1.18/Tue Nov 28 06:55:49 2017// +/rand48.3/1.21/Fri Dec 20 19:16:40 2019// +/rand48.h/1.6/Mon Sep 14 13:30:17 2015// +/random.3/1.28/Tue Dec 9 21:55:39 2014// +/random.c/1.31/Tue Nov 28 06:55:49 2017// +/realpath.3/1.25/Wed Dec 11 20:01:50 2019// +/realpath.c/1.27/Fri Jul 5 05:04:26 2019// +/remque.c/1.3/Fri Aug 15 04:14:36 2014// +/seed48.c/1.6/Sun Sep 13 15:20:40 2015// +/setenv.c/1.19/Wed Sep 21 04:38:56 2016// +/srand48.c/1.6/Sun Sep 13 08:31:48 2015// +/strtod.3/1.22/Wed Jan 16 12:55:49 2019// +/strtoimax.c/1.4/Thu Jul 6 16:23:11 2017// +/strtol.3/1.27/Tue Apr 14 22:16:03 2015// +/strtol.c/1.12/Thu Jul 6 16:23:11 2017// +/strtoll.c/1.10/Thu Jul 6 16:23:11 2017// +/strtonum.3/1.18/Sun Feb 7 20:50:24 2016// +/strtoul.3/1.24/Sun Nov 30 21:21:59 2014// +/strtoul.c/1.11/Thu Jul 6 16:23:11 2017// +/strtoull.c/1.9/Thu Jul 6 16:23:11 2017// +/strtoumax.c/1.4/Thu Jul 6 16:23:11 2017// +/system.3/1.14/Fri Feb 5 18:09:19 2016// +/system.c/1.12/Sun Mar 13 18:34:21 2016// +/tfind.c/1.7/Sat Sep 26 16:03:48 2015// +/thread_atexit.c/1.2/Sun Jun 2 01:03:01 2019// +/tsearch.3/1.21/Fri Jan 25 00:19:25 2019// +/tsearch.c/1.10/Sat Sep 26 16:03:48 2015// +/reallocarray.c/1.3/Mon Oct 19 10:52:42 2020// +/recallocarray.c/1.2/Wed Jul 14 10:21:14 2021// +/strtonum.c/1.8/Mon Oct 19 10:52:42 2020// +D diff --git a/lib/libc/stdlib/CVS/Repository b/lib/libc/stdlib/CVS/Repository new file mode 100644 index 0000000..f3ba005 --- /dev/null +++ b/lib/libc/stdlib/CVS/Repository @@ -0,0 +1 @@ +src/lib/libc/stdlib diff --git a/lib/libc/stdlib/CVS/Root b/lib/libc/stdlib/CVS/Root new file mode 100644 index 0000000..3811072 --- /dev/null +++ b/lib/libc/stdlib/CVS/Root @@ -0,0 +1 @@ +/cvs diff --git a/lib/libc/stdlib/recallocarray.c b/lib/libc/stdlib/recallocarray.c index a2f37fe..81059e6 100644 --- a/lib/libc/stdlib/recallocarray.c +++ b/lib/libc/stdlib/recallocarray.c @@ -1,4 +1,4 @@ -/* $OpenBSD: recallocarray.c,v 1.1 2017/03/06 18:44:21 otto Exp $ */ +/* $OpenBSD: recallocarray.c,v 1.2 2021/03/18 11:16:58 claudio Exp $ */ /* * Copyright (c) 2008, 2017 Otto Moerbeek <otto@drijf.net> * @@ -57,7 +57,7 @@ recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) if (newsize <= oldsize) { size_t d = oldsize - newsize; - if (d < oldsize / 2 && d < getpagesize()) { + if (d < oldsize / 2 && d < (size_t)getpagesize()) { memset((char *)ptr + newsize, 0, d); return ptr; } |