Commit 43fd99c8 authored by Martin v. Löwis's avatar Martin v. Löwis
Browse files

Patch #1557515: Add RLIMIT_SBSIZE.

parent 13782a33
......@@ -62,6 +62,8 @@ Library
Extension Modules
-----------------
- RLIMIT_SBSIZE was added to the resource module where available.
- Bug #1551427: fix a wrong NULL pointer check in the win32 version
of os.urandom().
......
......@@ -298,6 +298,10 @@ initresource(void)
PyModule_AddIntConstant(m, "RLIMIT_MEMLOCK", RLIMIT_MEMLOCK);
#endif
#ifdef RLIMIT_SBSIZE
PyModule_AddIntConstant(m, "RLIMIT_SBSIZE", RLIMIT_SBSIZE);
#endif
#ifdef RUSAGE_SELF
PyModule_AddIntConstant(m, "RUSAGE_SELF", RUSAGE_SELF);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment