random-state-from-platform: simplify pid conditional, and clarify docs.
authorMark H Weaver <mhw@netris.org>
Mon, 25 Feb 2013 00:57:00 +0000 (19:57 -0500)
committerMark H Weaver <mhw@netris.org>
Mon, 25 Feb 2013 00:57:00 +0000 (19:57 -0500)
commit08904661a2b1c6d461b2f5abfe3226a4023453fb
tree2a770e78b75508b3b9f257ba5461063a9c1ed8a1
parentc085589b1c34fa88d28c23cb5e3659fecdb09f33
random-state-from-platform: simplify pid conditional, and clarify docs.

* libguile/random.c (random_state_of_last_resort): Simplify optional
  inclusion of PID in the random state.  Clarify in the comments that
  the PID is only included where scm_getpid is present.

* doc/ref/api-data.texi (Random): Clarify that
  'random-state-from-platform' includes the PID in the random state only
  if scm_getpid is present.
doc/ref/api-data.texi
libguile/random.c