pgsql: Rewrite ProcessConfigFile() to avoid misbehavior at EOF, as per

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Rewrite ProcessConfigFile() to avoid misbehavior at EOF, as per
Дата
Msg-id 20060101195348.41CAC9DC998@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Rewrite ProcessConfigFile() to avoid misbehavior at EOF, as per report
from Andrus Moor.  The former state-machine-style coding wasn't actually
doing much except obscuring the control flow, and it didn't extend
readily to fix this case, so I just took it out.  Also, add a
YY_FLUSH_BUFFER call to ensure the lexer is reset correctly if the
previous scan failed partway through the file.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/misc:
        guc-file.l (r1.32 -> r1.32.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc-file.l.diff?r1=1.32&r2=1.32.2.1)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Rewrite ProcessConfigFile() to avoid misbehavior at EOF, as per
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Remove DOS line endings ("\r\n") from several .po files.