From 7aa8901413ff1a97cbb98c9d0b5f1b98b0436e23 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 1 Mar 2005 21:34:30 +0000 Subject: [PATCH] MFH: Fixed bug #31792 (getrusage() does not provide ru_nswap value). --- NEWS | 1 + ext/standard/microtime.c | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index f9a9cda103..532770fb58 100644 --- a/NEWS +++ b/NEWS @@ -26,6 +26,7 @@ PHP 4 NEWS - Fixed bug #31797 (exif_read_data() uses too low nesting limit). (Ilia) - Fixed bug #31796 (readline completion handler does not handle empty return values). (Ilia) +- Fixed bug #31792 (getrusage() does not provide ru_nswap value). (Ilia) - Fixed bug #31754 (dbase_open() fails for mode = 1). (Mehdi, Derick) - Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar). (Ilia) - Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings). diff --git a/ext/standard/microtime.c b/ext/standard/microtime.c index 414bd027dc..46f5babf79 100644 --- a/ext/standard/microtime.c +++ b/ext/standard/microtime.c @@ -141,6 +141,7 @@ PHP_FUNCTION(getrusage) PHP_RUSAGE_PARA(ru_nsignals); PHP_RUSAGE_PARA(ru_nvcsw); PHP_RUSAGE_PARA(ru_nivcsw); + PHP_RUSAGE_PARA(ru_nswap); #endif /*_OSD_POSIX*/ PHP_RUSAGE_PARA(ru_utime.tv_usec); PHP_RUSAGE_PARA(ru_utime.tv_sec); -- 2.40.0