]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40190: Add support for _SC_AIX_REALMEM in sysconf (GH-19380)
authorBatuhan Taşkaya <batuhanosmantaskaya@gmail.com>
Sun, 5 Apr 2020 00:40:49 +0000 (03:40 +0300)
committerGitHub <noreply@github.com>
Sun, 5 Apr 2020 00:40:49 +0000 (02:40 +0200)
Misc/NEWS.d/next/Library/2020-04-05-02-58-17.bpo-40190.HF3OWo.rst [new file with mode: 0644]
Modules/posixmodule.c

diff --git a/Misc/NEWS.d/next/Library/2020-04-05-02-58-17.bpo-40190.HF3OWo.rst b/Misc/NEWS.d/next/Library/2020-04-05-02-58-17.bpo-40190.HF3OWo.rst
new file mode 100644 (file)
index 0000000..5835933
--- /dev/null
@@ -0,0 +1 @@
+Add support for ``_SC_AIX_REALMEM`` to :func:`posix.sysconf`.
index 1adca8ec29dcd4fbbac8875357ebb795fbccd730..345798dc8c10ded4b170519a6c86170be6b69d18 100644 (file)
@@ -11424,6 +11424,9 @@ static struct constdef posix_constants_sysconf[] = {
 #ifdef _SC_PAGE_SIZE
     {"SC_PAGE_SIZE",    _SC_PAGE_SIZE},
 #endif
+#ifdef _SC_AIX_REALMEM
+    {"SC_AIX_REALMEM", _SC_AIX_REALMEM},
+#endif
 #ifdef _SC_PASS_MAX
     {"SC_PASS_MAX",     _SC_PASS_MAX},
 #endif