Re: new module strdup-posix

2008-09-21 Thread Paolo Bonzini
Bruno Haible wrote: > Simon Josefsson wrote: >> right now strdup doesn't make sure ENOMEM is supported, and it seems >> unclear whether the modules that depend on strdup actually require that >> behaviour from the strdup module. So as far as I can tell there is no >> reason for the explicit depend

new module strdup-posix

2008-09-21 Thread Bruno Haible
ay. At least one module, getpass, requires strdup to set errno, because getpass() is documented to let the user distinguish among various failures [1]. [1] http://opengroup.org/onlinepubs/007908775/xsh/getpass.html I'm therefore adding a new module 'strdup-posix', and make