|
From: <sv...@va...> - 2014-10-04 21:32:13
|
Author: florian
Date: Sat Oct 4 22:32:06 2014
New Revision: 14599
Log:
Use correct tag names in sys_getdents/64 wrappers.
Patch by Ivo Raisr (iv...@iv...).
Fixes BZ #339645
Modified:
trunk/NEWS
trunk/coregrind/m_syswrap/syswrap-generic.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Oct 4 22:32:06 2014
@@ -31,6 +31,7 @@
339020 ppc64: memcheck/tests/ppc64/power_ISA2_05 failing in nightly build
339156 gdbsrv not called for fatal signal
339442 Fix testsuite build failure on OS X 10.9
+339645 Use correct tag names in sys_getdents/64 wrappers
n-i-bz Old STABS code is still being compiled, but never used. Remove it.
n-i-bz Fix compilation on distros with glibc < 2.5
339182 ppc64: AvSplat ought to load destination vector register with 16/16
Modified: trunk/coregrind/m_syswrap/syswrap-generic.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-generic.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-generic.c Sat Oct 4 22:32:06 2014
@@ -3242,7 +3242,7 @@
*flags |= SfMayBlock;
PRINT("sys_getdents ( %ld, %#lx, %ld )", ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "getdents",
- unsigned int, fd, struct linux_dirent *, dirp,
+ unsigned int, fd, struct vki_dirent *, dirp,
unsigned int, count);
PRE_MEM_WRITE( "getdents(dirp)", ARG2, ARG3 );
}
@@ -3259,7 +3259,7 @@
*flags |= SfMayBlock;
PRINT("sys_getdents64 ( %ld, %#lx, %ld )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "getdents64",
- unsigned int, fd, struct linux_dirent64 *, dirp,
+ unsigned int, fd, struct vki_dirent64 *, dirp,
unsigned int, count);
PRE_MEM_WRITE( "getdents64(dirp)", ARG2, ARG3 );
}
|