diff options
author | Roland McGrath <roland@gnu.org> | 1995-09-18 03:28:15 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-09-18 03:28:15 +0000 |
commit | e537c55ea926d27e2f625b30e5520e9baea88c46 (patch) | |
tree | c607a7fb261064e97011f83b6c5c918fe951e21a /sysdeps/mach | |
parent | 60478656fad8d8a487e9bc52d025f69767c3262b (diff) | |
download | glibc-e537c55ea926d27e2f625b30e5520e9baea88c46.tar.gz glibc-e537c55ea926d27e2f625b30e5520e9baea88c46.tar.xz glibc-e537c55ea926d27e2f625b30e5520e9baea88c46.zip |
Sun Sep 17 18:29:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of __file_truncate. * sysdeps/mach/hurd/ftruncate.c: Likewise. * sysdeps/unix/sysv/linux/dl-machine.h: File removed.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/ftruncate.c | 4 | ||||
-rw-r--r-- | sysdeps/mach/hurd/truncate.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/ftruncate.c b/sysdeps/mach/hurd/ftruncate.c index 23a5e796cc..c37470c8f8 100644 --- a/sysdeps/mach/hurd/ftruncate.c +++ b/sysdeps/mach/hurd/ftruncate.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -28,7 +28,7 @@ DEFUN(ftruncate, (fd, length), int fd AND off_t length) { error_t err; - if (err = HURD_DPORT_USE (fd, __file_truncate (port, length))) + if (err = HURD_DPORT_USE (fd, __file_set_size (port, length))) return __hurd_dfail (fd, err); return 0; } diff --git a/sysdeps/mach/hurd/truncate.c b/sysdeps/mach/hurd/truncate.c index 7453bfb3a9..5250c3dd9d 100644 --- a/sysdeps/mach/hurd/truncate.c +++ b/sysdeps/mach/hurd/truncate.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -33,7 +33,7 @@ DEFUN(truncate, (file_name, length), if (file == MACH_PORT_NULL) return -1; - err = __file_truncate (file, length); + err = __file_set_size (file, length); __mach_port_deallocate (__mach_task_self (), file); if (err) |