Thread: python - be: Fix off by one error in indent.

python - be: Fix off by one error in indent.

From
jwp@pgfoundry.org (James William Pye)
Date:
Log Message:
-----------
Fix off by one error in indent.

While going unnoticed on FreeBSD, this bug showed itself quite frequently on
glibc platforms. After a memory corruption warning, a signal 6(?) soon followed
in a libpython call(PyRun_StringFlags). The (frame - src) difference didn't
provide for the NULL terminator[mv += sv _+ 1_;]. Sigh.

Also, this code likely broken w.r.t. some UTF-8 characters.

Modified Files:
--------------
    be/src:
        pl.c (r1.36 -> r1.37)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.36&r2=1.37)