develooper Front page | perl.perl5.porters | Postings from May 2008

[PATCH] Indented preproc directives in sv.c

Thread Next
From:
Jerry D. Hedden
Date:
May 22, 2008 06:46
Subject:
[PATCH] Indented preproc directives in sv.c
Message ID:
1ff86f510805220646vc3eee81hc4d2f6a8a45783a8@mail.gmail.com
I noticed in Perl_sv_free that a couple of preprocessor directives are
not flush with the left margin:

#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
	    Perl_dump_sv_child(aTHX_ sv);
#else
  #ifdef DEBUG_LEAKING_SCALARS
	    sv_dump(sv);
  #endif
#ifdef DEBUG_LEAKING_SCALARS_ABORT

This looks to be a bug.  Is it?  If so, the attached patch should fix it.

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