mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2001-01-20 Ulrich Drepper <drepper@redhat.com> * io/ftw.c (ftw_dir): Add slash after directory name if there wasn't any. Reported by loris <loris@iol.it>. * io/Makefile (tests): Add bug-ftw2. * io/bug-ftw2.c: New file.
This commit is contained in:
@ -31,7 +31,7 @@ __jrand48_r (xsubi, buffer, result)
|
||||
|
||||
/* Store the result. */
|
||||
if (sizeof (unsigned short int) == 2)
|
||||
*result = (xsubi[2] << 16) | xsubi[1];
|
||||
*result = ((xsubi[2] << 16) | xsubi[1]) & 0xffffffffl;
|
||||
else
|
||||
*result = xsubi[2] & 0xffffffffl;
|
||||
|
||||
|
Reference in New Issue
Block a user