CVS update: php3/functions

From: Date: Mon, 21 Dec 1998 20:57:32 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-2976@lists.php.net to get a copy of this message
Date: Monday December 21, 1998 @ 15:57 Author: kk Update of /repository/php3/functions In directory asf:/u/temp/cvs-serv6005/functions Modified Files: rand.c Log Message: Ooops, my patch deleted four lines. Here we go again... Index: php3/functions/rand.c diff -c php3/functions/rand.c:1.28 php3/functions/rand.c:1.29 *** php3/functions/rand.c:1.28 Mon Dec 21 15:45:22 1998 --- php3/functions/rand.c Mon Dec 21 15:57:31 1998 *************** *** 30,36 **** | Based on code from: Shawn Cokus <Cokus@math.washington.edu> | +----------------------------------------------------------------------+ */ ! /* $Id: rand.c,v 1.28 1998/12/21 20:45:22 kk Exp $ */ #include <stdlib.h> --- 30,36 ---- | Based on code from: Shawn Cokus <Cokus@math.washington.edu> | +----------------------------------------------------------------------+ */ ! /* $Id: rand.c,v 1.29 1998/12/21 20:57:31 kk Exp $ */ #include <stdlib.h> *************** *** 38,43 **** --- 38,47 ---- #include "internal_functions.h" #include "phpmath.h" + #ifndef RAND_MAX + #define RAND_MAX 2^^15 + + #endif /* This is the ``Mersenne Twister'' random number generator MT19937, which -- 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

« previous php.dev (#2976) next »