Re: cppcheck error in opendir.c

2013-03-20 Thread Arno Onken
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 >>

Re: cppcheck error in opendir.c

2013-03-20 Thread Arno Onken
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 >

Re: cppcheck error in opendir.c

2013-03-20 Thread Arno Onken
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/op

Re: cppcheck error in opendir.c

2013-03-19 Thread Arno Onken
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/op

cppcheck error in opendir.c

2013-03-19 Thread Arno Onken
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

cppcheck errors and gcc warning

2013-03-19 Thread Arno Onken
cppcheck version 1.58 reports the following errors on the latest Savannah respository checkout of gnulib (last changeSat, 16 Mar 2013 05:13:46 +): [lib/rpmatch.c:113]: (error) Memory leak: safe_pattern [lib/regcomp.c:2848]: (error) Uninitialized variable: symb_table [lib/regcomp.c:2847]: (erro