mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
This commit is contained in:
@ -22,7 +22,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <bp-checks.h>
|
||||
|
||||
/* Truncate the file referenced by FD to LENGTH bytes. */
|
||||
int
|
||||
@ -30,7 +29,7 @@ truncate64 (const char *path, off64_t length)
|
||||
{
|
||||
unsigned int low = length & 0xffffffff;
|
||||
unsigned int high = length >> 32;
|
||||
int result = INLINE_SYSCALL (truncate64, 3, CHECK_STRING (path),
|
||||
int result = INLINE_SYSCALL (truncate64, 3, path,
|
||||
__LONG_LONG_PAIR (high, low));
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user