Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1140
diff -u -r1.1140 common.inc
--- includes/common.inc	31 Mar 2010 19:10:39 -0000	1.1140
+++ includes/common.inc	4 Apr 2010 20:23:51 -0000
@@ -4195,17 +4195,15 @@
 function drupal_random_bytes($count)  {
   // $random_state does not use drupal_static as it stores random bytes.
   static $random_state;
-  // We initialize with the somewhat random PHP process ID on the first call.
-  if (empty($random_state)) {
-    $random_state = getmypid();
-  }
   $output = '';
+
   // /dev/urandom is available on many *nix systems and is considered the best
   // commonly available pseudo-random source.
   if ($fh = @fopen('/dev/urandom', 'rb')) {
     $output = fread($fh, $count);
     fclose($fh);
   }
+
   // If /dev/urandom is not available or returns no bytes, this loop will
   // generate a good set of pseudo-random bytes on any system.
   // Note that it may be important that our $random_state is passed
