CVS update: php3/functions
| From: | jimjag | Date: | Sun, 27 Dec 1998 15:47:13 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3068@lists.php.net to get a copy of this message | ||
Date: Sunday December 27, 1998 @ 10:47
Author: jimjag
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv14636/functions
Modified Files:
microtime.c
Log Message:
Ooopss. We shouldn't use #ifdef because
#define HAVE_GETRUSAGE 0 (if getrusage() isn't found) would
result in the code fragment being included :/
Index: php3/functions/microtime.c
diff -c php3/functions/microtime.c:1.23 php3/functions/microtime.c:1.24
*** php3/functions/microtime.c:1.23 Sun Dec 27 02:09:55 1998
--- php3/functions/microtime.c Sun Dec 27 10:47:12 1998
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: microtime.c,v 1.23 1998/12/27 07:09:55 sas Exp $ */
#include "php.h"
#include <stdlib.h>
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: microtime.c,v 1.24 1998/12/27 15:47:12 jimjag Exp $ */
#include "php.h"
#include <stdlib.h>
***************
*** 109,115 ****
returns an array of usage statistics */
void php3_getrusage(INTERNAL_FUNCTION_PARAMETERS)
{
! #ifdef HAVE_GETRUSAGE
struct rusage usg;
int ac = ARG_COUNT(ht);
pval *pwho;
--- 109,115 ----
returns an array of usage statistics */
void php3_getrusage(INTERNAL_FUNCTION_PARAMETERS)
{
! #if HAVE_GETRUSAGE
struct rusage usg;
int ac = ARG_COUNT(ht);
pval *pwho;
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net