On 03/20/2013 05:54 PM, Paul Eggert wrote:
> On 03/20/13 09:38, Arno Onken wrote:
>> It is explained in the second post on the bug tracker:
>
> Sorry, I don't know the bug tracker in question.
Sorry. It's at
http://sourceforge.net/apps/trac/cppcheck/ticket/4670
>> Comment(by amai):
>>
>> Well,
On 03/20/13 09:38, Arno Onken wrote:
> It is explained in the second post on the bug tracker:
Sorry, I don't know the bug tracker in question.
> Comment(by amai):
>
> Well, I am just looking at lib/opendir.c - and I have no idea about the
> correlation of involved macros ''HAVE_OPENDIR'' and '
On 03/20/2013 04:28 PM, Paul Eggert wrote:
> On 03/20/13 03:38, Arno Onken wrote:
>> The following code in opendir.c silences cppcheck:
>>
>> {{{
>> #if !defined(HAVE_OPENDIR) && defined(REPLACE_FCHDIR)
>> #error Invalid configuration!!
>> #endif
>> }}}
>
> It may silence cppcheck, but I'm afraid
On 03/20/13 03:38, Arno Onken wrote:
> The following code in opendir.c silences cppcheck:
>
> {{{
> #if !defined(HAVE_OPENDIR) && defined(REPLACE_FCHDIR)
> #error Invalid configuration!!
> #endif
> }}}
It may silence cppcheck, but I'm afraid I don't see why it's
correct or needed. Can you explai
On 03/19/2013 08:57 PM, Paul Eggert wrote:
> On 03/19/13 11:59, Arno Onken wrote:
>> cppcheck version 1.58 reports the following error on the latest
>> Savannah respository checkout of gnulib (last change Tue, 19 Mar 2013
>> 17:47:12 +):
>>
>> [lib/opendir.c:140]: (error) Mismatching allocation
On 03/19/2013 08:57 PM, Paul Eggert wrote:
> On 03/19/13 11:59, Arno Onken wrote:
>> cppcheck version 1.58 reports the following error on the latest
>> Savannah respository checkout of gnulib (last change Tue, 19 Mar 2013
>> 17:47:12 +):
>>
>> [lib/opendir.c:140]: (error) Mismatching allocation
On 03/19/13 11:59, Arno Onken wrote:
> cppcheck version 1.58 reports the following error on the latest
> Savannah respository checkout of gnulib (last change Tue, 19 Mar 2013
> 17:47:12 +):
>
> [lib/opendir.c:140]: (error) Mismatching allocation and deallocation: dirp
I don't see why this dia
cppcheck version 1.58 reports the following error on the latest
Savannah respository checkout of gnulib (last change Tue, 19 Mar 2013
17:47:12 +):
[lib/opendir.c:140]: (error) Mismatching allocation and deallocation: dirp