bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] Re: (x)memdup


From: Simon Josefsson
Subject: [Bug-gnulib] Re: (x)memdup
Date: Sat, 02 Oct 2004 00:23:27 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

"Oskar Liljeblad" <address@hidden> writes:

> Is there any change xclone could be named/aliased 'xmemdup',
> similar to xstrdup? I think (x)memdup is much more straightforward
> for those who know the standard C library. Besides linux has a
> syscall 'clone' which is something completely different.

Having written a (x)memdup module once, only to later remember that
xclone exist, I agree with this request.

Another nit: how about merging xstrdup.c into xmalloc.c?  I don't see
the point of separating the two files.  xstrdup is declared in
xalloc.h, after all.

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]