> 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.

Reply via email to