[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 01/19] tools/xenstore: let talloc_free() preserve errno
On 14.12.22 10:54, Jan Beulich wrote: On 13.12.2022 17:00, Juergen Gross wrote:Today talloc_free() is not guaranteed to preserve errno, especially in case a custom destructor is being used. Change that by renaming talloc_free() to _talloc_free() in talloc.c and adding a wrapper to talloc.c.This looks to be stale ...This allows to remove some errno saving outside of talloc.c. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> --- V2: - drop wrapper (Julien Grall)... after this change? Oh yes, indeed. It should be replaced by: "So preserve errno in talloc_free()." Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |