pgsql: Fix a couple of places that would loop forever if attempts to

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix a couple of places that would loop forever if attempts to
Дата
Msg-id 20100303203134.EB8107541D0@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix a couple of places that would loop forever if attempts to read a stdio file
set ferror() but never set feof().  This is known to be the case for recent
glibc when trying to read a directory as a file, and might be true for other
platforms/cases too.  Per report from Ed L.  (There is more that we ought to
do about his report, but this is one easily identifiable issue.)

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/libpq:
        hba.c (r1.149 -> r1.149.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/hba.c?r1=1.149&r2=1.149.2.1)
    pgsql/src/interfaces/libpq:
        fe-connect.c (r1.323.2.4 -> r1.323.2.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c?r1=1.323.2.4&r2=1.323.2.5)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix a couple of places that would loop forever if attempts to
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix a couple of places that would loop forever if attempts to