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

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Fix off by one error in indent.
Date: 2006-03-15 02:25:17
Message-ID: 20060315022517.874AF1033834@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-03-15 03:24:17 pgsql: Fix typo in pgcvslog, used == instead of =.
Previous Message User Cmaj 2006-03-14 23:23:01 pgaccess - pgaccess: fix picture handling after recent changes, add