about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--NEWS18
-rw-r--r--manual/math.texi2
3 files changed, 16 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index eea46657bc..b21cdbb280 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-11-01  Bruno Haible  <bruno@clisp.org>
+
+	[BZ #7003]
+	* manual/math.texi (BSD Random): Specify range upper bound as
+	in POSIX.
+
 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
 
 	* locale/iso-639.def: Add Meadow Mari (mhr).
diff --git a/NEWS b/NEWS
index 3ceed0c326..f24d3295e0 100644
--- a/NEWS
+++ b/NEWS
@@ -9,15 +9,15 @@ Version 2.19
 
 * The following bugs are resolved with this release:
 
-  156, 431, 832, 2801, 9954, 10278, 11087, 13028, 13982, 13985, 14029,
-  14155, 14547, 14699, 14752, 14876, 14910, 15048, 15218, 15277, 15308,
-  15362, 15400, 15427, 15522, 15531, 15532, 15608, 15609, 15610, 15632,
-  15640, 15670, 15672, 15680, 15681, 15723, 15734, 15735, 15736, 15748,
-  15749, 15754, 15760, 15763, 15764, 15797, 15799, 15825, 15844, 15847,
-  15849, 15855, 15856, 15857, 15859, 15867, 15886, 15887, 15890, 15892,
-  15893, 15895, 15897, 15905, 15909, 15917, 15919, 15921, 15923, 15939,
-  15948, 15963, 15966, 15988, 16032, 16034, 16036, 16037, 16041, 16071,
-  16072, 16074, 16078.
+  156, 431, 832, 2801, 7003, 9954, 10278, 11087, 13028, 13982, 13985,
+  14029, 14155, 14547, 14699, 14752, 14876, 14910, 15048, 15218, 15277,
+  15308, 15362, 15400, 15427, 15522, 15531, 15532, 15608, 15609, 15610,
+  15632, 15640, 15670, 15672, 15680, 15681, 15723, 15734, 15735, 15736,
+  15748, 15749, 15754, 15760, 15763, 15764, 15797, 15799, 15825, 15844,
+  15847, 15849, 15855, 15856, 15857, 15859, 15867, 15886, 15887, 15890,
+  15892, 15893, 15895, 15897, 15905, 15909, 15917, 15919, 15921, 15923,
+  15939, 15948, 15963, 15966, 15988, 16032, 16034, 16036, 16037, 16041,
+  16071, 16072, 16074, 16078.
 
 * CVE-2012-4412 The strcoll implementation caches indices and rules for
   large collation sequences to optimize multiple passes.  This cache
diff --git a/manual/math.texi b/manual/math.texi
index 193d415fba..57cf24f687 100644
--- a/manual/math.texi
+++ b/manual/math.texi
@@ -1364,7 +1364,7 @@ The prototypes for these functions are in @file{stdlib.h}.
 @comment BSD
 @deftypefun {long int} random (void)
 This function returns the next pseudo-random number in the sequence.
-The value returned ranges from @code{0} to @code{RAND_MAX}.
+The value returned ranges from @code{0} to @code{2147483647}.
 
 @strong{NB:} Temporarily this function was defined to return a
 @code{int32_t} value to indicate that the return value always contains