[Tarantool-patches] [PATCH 2/3] error: move errno into an error object

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Nov 6 17:49:01 MSK 2019



On 05/11/2019 21:18, Konstantin Osipov wrote:
> * Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/11/05 17:57]:
> 
> syserror is a non-obvious name, I realize you can't use errno
> since it is a macro, you could use save_errno, sys_errno,
> m_errno, anything that would make it obvious it is a saved errno 
> (saved_errno?) instead.

Yes, I tried to use just 'errno', but seems like it can be a macros.

m_errno is rather C++ style. Sys_errno sounds tautological - errno
presumes 'sys'.

I choose 'saved_errno'.

Renamed on the branch.


More information about the Tarantool-patches mailing list