This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] support: Implement <support/descriptors.h> to track file descriptors


On 11/29/18 11:43 PM, Florian Weimer wrote:
> I could try to count more precisely how many bytes are actually needed,
> but that seemed like a waste of mental resources.  Should I use
> xasprintf instead, to make clear that there is no truncation?

Yes, I think xasprintf solves all the problems.

-- 
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]