develooper Front page | perl.perl5.porters | Postings from March 2006

[PATCH] Random accumulated patches

Thread Next
From:
andy
Date:
March 30, 2006 21:42
Subject:
[PATCH] Random accumulated patches
Message ID:
20060331054228.GA18940@petdance.com
Lots of:

* consting
* changing zeroes-as-pointers to NULLs
* uncasting NULLs

File-by-file breakdown:

cop.h: consting

doio.c: NULLs

dump.c: consting

embed.fnc: consting (and of course we need a make regen)

gv.c: NULLs

gv.h: NULLs

hv.c: Calling statics thru macros

mg.c: consting

op.c: NULLs

perl.c: consting, and removed an unnecessary (void)

perl.h: NULLs

pp.c: const

pp_ctl.c: NULLs

pp_hot.c: NULLs, and folded out an extra RETURN.  Also re-flowed a
warning so that we don't do the work for the diagnostic if we're not
actually wanting the warning.

pp_sort.c: localized some vars, and fixed some indents.  Plus NULLs and
consts.  And, removed an unnecessary use of a function pointer.

regcomp.c: consting.

sv.c: consting, and calling statics thru macros.  And quieting unused
arg warnings under lint.  And some NULL stuff.

sv.h: consting

toke.c: Made some empty for loops explicitly empty.  Lots of consting
and NULLs.

utf8.c: Consting, and statics going thru macros.

Boy, I need to send patches more often.

xoxo,
Andy










-- 
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About