diff options
author | Roland McGrath <roland@gnu.org> | 1995-09-18 09:00:07 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-09-18 09:00:07 +0000 |
commit | aa9109070f2919ab519de474e00274c9fff5dcff (patch) | |
tree | 3c10d1d048a1a5d65ebd8c56f0448109038b39c8 /stdlib | |
parent | e537c55ea926d27e2f625b30e5520e9baea88c46 (diff) | |
download | glibc-aa9109070f2919ab519de474e00274c9fff5dcff.tar glibc-aa9109070f2919ab519de474e00274c9fff5dcff.tar.gz glibc-aa9109070f2919ab519de474e00274c9fff5dcff.tar.bz2 glibc-aa9109070f2919ab519de474e00274c9fff5dcff.zip |
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.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/drand48-iter.c | 4 | ||||
-rw-r--r-- | stdlib/srand48_r.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/drand48-iter.c b/stdlib/drand48-iter.c index 013dbe792f..b98f4026ea 100644 --- a/stdlib/drand48-iter.c +++ b/stdlib/drand48-iter.c @@ -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; diff --git a/stdlib/srand48_r.c b/stdlib/srand48_r.c index 7e77d1675a..ac313f6c48 100644 --- a/stdlib/srand48_r.c +++ b/stdlib/srand48_r.c @@ -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; } |