Darshit Shah
2017-08-07 13:07:16 UTC
Hi,
Glibc 2.26 introduced the reallocarray() function which acts as a safe
realloc counterpart to calloc(). I'd like to use this in GNU Wget but
since it is not easily available on all systems, I guess we should have
an implementation in gnulib. If others here agree, I'd like to see this
function within in gnulib.
If someone will willing to help me out / give me pointers on what would
be required to implement this within gnulib, I will happily port the
code from glibc to gnulib and submit a completed patch.
Glibc 2.26 introduced the reallocarray() function which acts as a safe
realloc counterpart to calloc(). I'd like to use this in GNU Wget but
since it is not easily available on all systems, I guess we should have
an implementation in gnulib. If others here agree, I'd like to see this
function within in gnulib.
If someone will willing to help me out / give me pointers on what would
be required to implement this within gnulib, I will happily port the
code from glibc to gnulib and submit a completed patch.
--
Thanking You,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6
Thanking You,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6