mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
Patch #1557515: Add RLIMIT_SBSIZE.
This commit is contained in:
parent
13782a3359
commit
43fd99c8f8
2 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue