From: Bruno Haible Date: Fri, 1 Nov 2013 11:23:51 +0000 (+0100) Subject: Fix description of random according to POSIX. Fixes bug 7003 X-Git-Tag: glibc-2.19~549 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c5c2600af016b00496cebdae34fddf9a59fc8b9;p=platform%2Fupstream%2Fglibc.git Fix description of random according to POSIX. Fixes bug 7003 --- diff --git a/ChangeLog b/ChangeLog index eea4665..b21cdbb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-11-01 Bruno Haible + + [BZ #7003] + * manual/math.texi (BSD Random): Specify range upper bound as + in POSIX. + 2013-10-31 Chris Leonard * locale/iso-639.def: Add Meadow Mari (mhr). diff --git a/NEWS b/NEWS index 3ceed0c..f24d329 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 193d415..57cf24f 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