Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require() has observable side effect - errno is reset #86

Open
GoogleCodeExporter opened this issue Aug 23, 2015 · 0 comments
Open

require() has observable side effect - errno is reset #86

GoogleCodeExporter opened this issue Aug 23, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Loading a module to deal with errors can cause us to appear to have no error, 
because the C errno global is affected by the loading of the module (e.g. via 
gpsee_loadModule in gpsee_modules.c)

We should cache and restore errno so that pending errors can be properly 
reported by dynamically-loaded modules.

Original issue reported on code.google.com by i...@realtime-realty.com on 13 Apr 2011 at 3:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant