On Sun, Jun 14, 2015 at 05:02:05PM -0600, Theo de Raadt wrote:
> > But I am not sure about this change. xmalloc.c came from ssh (and is
> > also used by file and diff). Would it be better to keep it in sync? How
> > portable is strdup?
> 
> strdup is extremely portable.
> 
> The last mainstream operating system which lacked it was Ultrix.
> So you could call it 100.00% portable.
>

Since there is no portable version of openRCS is it that necessary
to focus on portability? Functions like explicit_bzero(3) are not
portable either, but used widely.

Or is it more to find a balance between the usage of internal function,
but make the tool not that hard to port to other systems?

Regards,
--F.

Reply via email to