mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-18 03:33:48 +08:00
Mon Sep 18 01:58:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makefile (subdirs): Add sysvipc. * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant. * stdlib/drand48-iter.c (__drand48_iterate): Likewise. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call __file_set_size instead of __file_truncate. * features.h (__USE_REENTRANT): New macro.
This commit is contained in:
@@ -48,8 +48,8 @@ __drand48_iterate (xsubi, buffer)
|
||||
}
|
||||
else
|
||||
{
|
||||
buffer->a[2] = 0x5deec;
|
||||
buffer->a[1] = 0xe66d0000;
|
||||
buffer->a[2] = 0x5deecUL;
|
||||
buffer->a[1] = 0xe66d0000UL;
|
||||
buffer->a[0] = 0;
|
||||
}
|
||||
buffer->c = 0xb;
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ srand48_r (seedval, buffer)
|
||||
else
|
||||
{
|
||||
buffer->X[2] = seedval;
|
||||
buffer->X[1] = 0x330e0000;
|
||||
buffer->X[1] = 0x330e0000UL;
|
||||
buffer->X[0] = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user