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 /hurd/hurdlookup.c | |
parent | e537c55ea926d27e2f625b30e5520e9baea88c46 (diff) | |
download | glibc-aa9109070f2919ab519de474e00274c9fff5dcff.zip glibc-aa9109070f2919ab519de474e00274c9fff5dcff.tar.gz glibc-aa9109070f2919ab519de474e00274c9fff5dcff.tar.bz2 |
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 'hurd/hurdlookup.c')
-rw-r--r-- | hurd/hurdlookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdlookup.c b/hurd/hurdlookup.c index b467404..b595911 100644 --- a/hurd/hurdlookup.c +++ b/hurd/hurdlookup.c @@ -126,7 +126,7 @@ __hurd_file_name_lookup_retry (file_t crdir, if (!err && (flags & O_SHLOCK)) ; /* XXX */ if (!err && (flags & O_TRUNC)) - err = __file_truncate (*result, 0); + err = __file_set_size (*result, 0); if (err) __mach_port_deallocate (__mach_task_self (), *result); |