diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-09-10 09:55:18 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-09-10 09:55:18 +0300 |
commit | 9b4666dad55be2cc978b3dd5da89fd11da0c3cfc (patch) | |
tree | 632ce83c49ee2c8942e2c8bc6a7ae4b804964bf2 /docs/esp8266/quickref.rst | |
parent | 5671a11b815b526289837ec4f132e5c94a02e9b6 (diff) |
esp8266/posix_helpers: Set ENOMEM on memory alloc failure.
POSIX requires malloc(), etc. to set ENOMEM on the failure, and e.g.
BerkeleyDB relies on this:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html
This should fix confusing OSError exceptions with 0 error code when
working with btree module.
Diffstat (limited to 'docs/esp8266/quickref.rst')
0 files changed, 0 insertions, 0 deletions