From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21984 invoked by alias); 23 May 2011 13:10:19 -0000 Received: (qmail 21781 invoked by uid 22791); 23 May 2011 13:10:18 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 May 2011 13:10:01 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 323E12F78005 for ; Mon, 23 May 2011 14:10:00 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JLNB76vyZoOm; Mon, 23 May 2011 14:09:58 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001243] New: Fix trace function reporting of rewinddir() X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Filesystem support X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: manuel@matronix.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 23 May 2011 13:10:00 -0000 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2011/txt/msg00896.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001243 Summary: Fix trace function reporting of rewinddir() Product: eCos Version: CVS Platform: All OS/Version: Other Status: UNCONFIRMED Severity: enhancement Priority: low Component: Filesystem support AssignedTo: unassigned@bugs.ecos.sourceware.org ReportedBy: manuel@matronix.de CC: ecos-bugs@ecos.sourceware.org Class: Advice Request Created an attachment (id=1262) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1262) Fix tracing of rewinddir function While trying to get the ATHTTPD server working, I found a bug in the file I/O subsystem. I guess it only occures when tracing and assertions are turned on. The Assertion I got, when accessing a webpage: ASSERT FAIL: <6>cyg_trac.h[666]void Cyg_TraceFunction_Report_::set_exitvoid() exitvoid used in typed function ASSERT FAIL: <6>cyg_trac.h [ 666] void Cyg_TraceFunction_Report_::set_exitvoid() exitvoid used in typed function I hunted it down to the rewinddir() function. rewinddir returns void, which fails because the macro FILEIO_ENTRY uses CYG_REPORT_FUNCTYPE( "returning %d" ), which sets a string for return. rewinddir seems to be the only function returning void. I fixed the problem by introducing a macro FILEIO_ENTRY_VOID which simply uses CYG_REPORT_FUNCTION(); Find the patch attached and feel free to integrate it in CVS. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.