[systemd-devel] [PATCH] tmpfiles: remember errno before it might be overwritten
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue May 5 20:45:24 PDT 2015
On Thu, Apr 30, 2015 at 08:34:56PM +0200, Michael Olbrich wrote:
> ---
>
> I'm not sure if this is really necessary right now, but that might change
> in the future. Saving errno before calling another function is always a
> good idea.
It's one of those functions which explicitly do not modify errno. It it
designed to be inserted between the call and error handling, so this
property is not going to change.
Zbyszek
More information about the systemd-devel
mailing list