Commit d44241344e8455c59ea04440706cfaf72862c404

Bruno Haible 2019-07-06T00:47:12

getcwd-lgpl, getcwd: Don't call realloc when it is pointless. * lib/getcwd-lgpl.c (rpl_getcwd): Don't call realloc if the result's needed size is equal to the allocated size. * lib/getcwd.c (__getcwd): Likewise.