[PATCH] Fix const-correctness issues uncovered by gcc -Wwrite-strings

Dmitry V. Levin ldv at altlinux.org
Mon Sep 13 17:04:49 UTC 2010


On Wed, Sep 01, 2010 at 06:08:36PM -0700, Roland McGrath wrote:
> > The printflags() implementation could use const qualifier in similar
> > context, too.
> 
> Yeah, plenty of crufty old code.  I had never bothered to clean up such
> trivia in the old code, but might as well be more fastidious in new code.
> If you want to clean up the existing code, that's certainly fine with me.
> I don't think we really need to bother, but it won't take long if you feel
> like it.

Here it is:
http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commitdiff;h=ldv/const


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20100913/0b3718ce/attachment.bin>


More information about the Strace-devel mailing list