changeset 3047:b32b05dbfe18

* src/dir.cxx (rewinddir): Fix tracing of rewinddir(). * src/fio.h: Add new function entry macro (FILEIO_ENTRY_VOID). [ Bugzilla 1001243 ]
author sergeig
date Tue, 16 Aug 2011 17:06:21 +0000
parents c3cf1dd9a644
children 399cb84fb504
files packages/io/fileio/current/ChangeLog packages/io/fileio/current/src/dir.cxx packages/io/fileio/current/src/fio.h
diffstat 3 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/io/fileio/current/ChangeLog
+++ b/packages/io/fileio/current/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Manuel Borchers  <manuel@matronix.de>
+
+	* src/dir.cxx (rewinddir): Fix tracing of rewinddir().
+	* src/fio.h: Add new function entry macro (FILEIO_ENTRY_VOID).
+	[ Bugzilla 1001243 ]
+
 2010-02-08  Jay Foster <jay@systech.com>
 
 	* tests/pselect.c: Corrected return value of pthread_kill()
--- a/packages/io/fileio/current/src/dir.cxx
+++ b/packages/io/fileio/current/src/dir.cxx
@@ -214,7 +214,7 @@ extern int readdir_r( DIR *dirp, struct 
 
 extern void rewinddir( DIR *dirp )
 {
-    FILEIO_ENTRY();
+    FILEIO_ENTRY_VOID();
 
     int fd = (int)dirp;
 
--- a/packages/io/fileio/current/src/fio.h
+++ b/packages/io/fileio/current/src/fio.h
@@ -139,6 +139,11 @@ typedef int sigset_t;
     CYG_REPORT_FUNCTYPE( "returning %d" );      \
     CYG_FILEIO_FUNCTION_START();                \
 
+#define FILEIO_ENTRY_VOID()                     \
+    CYG_REPORT_FUNCTION();                      \
+    CYG_FILEIO_FUNCTION_START();                \
+
+
 // Do a fileio package defined return. This requires the error code
 // to be placed in errno, and if it is non-zero, -1 returned as the
 // result of the function. This also gives us a place to put any