1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
* elf/readlib.c: Include a.out.h last since the Linux/Alpha
	headers are not clean enough.
This commit is contained in:
Ulrich Drepper
1999-12-09 01:39:16 +00:00
parent d587d83bd9
commit af1680f1f9
5 changed files with 19 additions and 13 deletions

View File

@ -41,8 +41,9 @@ truncate64 (path, length)
if (! have_no_truncate64)
#endif
{
int result = INLINE_SYSCALL (truncate64, 3, path, length >> 32,
length & 0xffffffff);
unsigned int low = length & 0xffffffff;
unsigned int high = length >> 32;
int result = INLINE_SYSCALL (truncate64, 3, path, low, high);
#ifndef __ASSUME_TRUNCATE64_SYSCALL
if (result != -1 || errno != ENOSYS)