1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

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.
This commit is contained in:
Roland McGrath
1995-09-18 03:28:15 +00:00
parent 60478656fa
commit e537c55ea9
4 changed files with 12 additions and 218 deletions

View File

@@ -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)