[Glibc-bsd-commits] r5043 - trunk/glibc-ports/kfreebsd
Petr Salinger
ps-guest at alioth.debian.org
Sun Oct 13 08:56:26 UTC 2013
Author: ps-guest
Date: 2013-10-13 08:56:26 +0000 (Sun, 13 Oct 2013)
New Revision: 5043
Modified:
trunk/glibc-ports/kfreebsd/fxstat.c
trunk/glibc-ports/kfreebsd/fxstat64.c
trunk/glibc-ports/kfreebsd/fxstatat.c
trunk/glibc-ports/kfreebsd/fxstatat64.c
trunk/glibc-ports/kfreebsd/lxstat.c
trunk/glibc-ports/kfreebsd/lxstat64.c
trunk/glibc-ports/kfreebsd/xstat.c
trunk/glibc-ports/kfreebsd/xstat64.c
Log:
drop usage of __ptrvalue - part of bounded pointers
Modified: trunk/glibc-ports/kfreebsd/fxstat.c
===================================================================
--- trunk/glibc-ports/kfreebsd/fxstat.c 2013-10-13 08:55:52 UTC (rev 5042)
+++ trunk/glibc-ports/kfreebsd/fxstat.c 2013-10-13 08:56:26 UTC (rev 5043)
@@ -29,7 +29,7 @@
if (__builtin_expect (vers == _STAT_VER, 1))
{
struct stat16 buf16;
- int result = __syscall_fstat (fd, __ptrvalue (&buf16));
+ int result = __syscall_fstat (fd, &buf16);
if (result == 0)
stat16_to_stat (&buf16, buf);
return result;
Modified: trunk/glibc-ports/kfreebsd/fxstat64.c
===================================================================
--- trunk/glibc-ports/kfreebsd/fxstat64.c 2013-10-13 08:55:52 UTC (rev 5042)
+++ trunk/glibc-ports/kfreebsd/fxstat64.c 2013-10-13 08:56:26 UTC (rev 5043)
@@ -29,7 +29,7 @@
if (__builtin_expect (vers == _STAT_VER, 1))
{
struct stat16 buf16;
- int result = __syscall_fstat (fd, __ptrvalue (&buf16));
+ int result = __syscall_fstat (fd, &buf16);
if (result == 0)
stat16_to_stat64 (&buf16, buf);
return result;
Modified: trunk/glibc-ports/kfreebsd/fxstatat.c
===================================================================
--- trunk/glibc-ports/kfreebsd/fxstatat.c 2013-10-13 08:55:52 UTC (rev 5042)
+++ trunk/glibc-ports/kfreebsd/fxstatat.c 2013-10-13 08:56:26 UTC (rev 5043)
@@ -46,7 +46,7 @@
struct stat16 buf16;
result =
INLINE_SYSCALL (fstatat, 4, fd, file,
- __ptrvalue (&buf16), flag);
+ &buf16, flag);
if (result == 0)
stat16_to_stat (&buf16, st);
}
Modified: trunk/glibc-ports/kfreebsd/fxstatat64.c
===================================================================
--- trunk/glibc-ports/kfreebsd/fxstatat64.c 2013-10-13 08:55:52 UTC (rev 5042)
+++ trunk/glibc-ports/kfreebsd/fxstatat64.c 2013-10-13 08:56:26 UTC (rev 5043)
@@ -46,7 +46,7 @@
struct stat16 buf16;
result =
INLINE_SYSCALL (fstatat, 4, fd, file,
- __ptrvalue (&buf16), flag);
+ &buf16, flag);
if (result == 0)
stat16_to_stat64 (&buf16, st);
}
Modified: trunk/glibc-ports/kfreebsd/lxstat.c
===================================================================
--- trunk/glibc-ports/kfreebsd/lxstat.c 2013-10-13 08:55:52 UTC (rev 5042)
+++ trunk/glibc-ports/kfreebsd/lxstat.c 2013-10-13 08:56:26 UTC (rev 5043)
@@ -29,7 +29,7 @@
if (__builtin_expect (vers == _STAT_VER, 1))
{
struct stat16 buf16;
- int result = __syscall_lstat (file, __ptrvalue (&buf16));
+ int result = __syscall_lstat (file, &buf16);
if (result == 0)
stat16_to_stat (&buf16, buf);
return result;
Modified: trunk/glibc-ports/kfreebsd/lxstat64.c
===================================================================
--- trunk/glibc-ports/kfreebsd/lxstat64.c 2013-10-13 08:55:52 UTC (rev 5042)
+++ trunk/glibc-ports/kfreebsd/lxstat64.c 2013-10-13 08:56:26 UTC (rev 5043)
@@ -29,7 +29,7 @@
if (__builtin_expect (vers == _STAT_VER, 1))
{
struct stat16 buf16;
- int result = __syscall_lstat (file, __ptrvalue (&buf16));
+ int result = __syscall_lstat (file, &buf16);
if (result == 0)
stat16_to_stat64 (&buf16, buf);
return result;
Modified: trunk/glibc-ports/kfreebsd/xstat.c
===================================================================
--- trunk/glibc-ports/kfreebsd/xstat.c 2013-10-13 08:55:52 UTC (rev 5042)
+++ trunk/glibc-ports/kfreebsd/xstat.c 2013-10-13 08:56:26 UTC (rev 5043)
@@ -29,7 +29,7 @@
if (__builtin_expect (vers == _STAT_VER, 1))
{
struct stat16 buf16;
- int result = __syscall_stat (file, __ptrvalue (&buf16));
+ int result = __syscall_stat (file, &buf16);
if (result == 0)
stat16_to_stat (&buf16, buf);
return result;
Modified: trunk/glibc-ports/kfreebsd/xstat64.c
===================================================================
--- trunk/glibc-ports/kfreebsd/xstat64.c 2013-10-13 08:55:52 UTC (rev 5042)
+++ trunk/glibc-ports/kfreebsd/xstat64.c 2013-10-13 08:56:26 UTC (rev 5043)
@@ -29,7 +29,7 @@
if (__builtin_expect (vers == _STAT_VER, 1))
{
struct stat16 buf16;
- int result = __syscall_stat (file, __ptrvalue (&buf16));
+ int result = __syscall_stat (file, &buf16);
if (result == 0)
stat16_to_stat64 (&buf16, buf);
return result;
More information about the Glibc-bsd-commits
mailing list