python - be: Fix off by one error in indent. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - be: Fix off by one error in indent.
Date
Msg-id 20060315022517.874AF1033834@pgfoundry.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: cmaj@pgfoundry.org (User Cmaj)
Date:
Subject: pgaccess - pgaccess: fix picture handling after recent changes, add
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Fix typo in pgcvslog, used == instead of =.