pgsql: Avoid odd portability problem in TestLib.pm's slurp_file functio

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Avoid odd portability problem in TestLib.pm's slurp_file functio
Дата
Msg-id E1a6QHE-0001wT-Is@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid odd portability problem in TestLib.pm's slurp_file function.

For unclear reasons, this function doesn't always read the expected data
in some old Perl versions.  Rewriting it to avoid use of ARGV seems to
dodge the problem, and this version is clearer anyway if you ask me.

In passing, also improve error message in adjacent append_to_file function.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/56a79a5ae9fe1426b07f8ad986777829f19b4437

Modified Files
--------------
src/test/perl/TestLib.pm |    7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: psql: Support multiple -c and -f options, and allow mixing them.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid odd portability problem in TestLib.pm's slurp_file functio