pgsql: copydir() and rmtree() need to use lstat, not stat, to behave as

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: copydir() and rmtree() need to use lstat, not stat, to behave as
Дата
Msg-id 20060718223646.A712F9FA379@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
copydir() and rmtree() need to use lstat, not stat, to behave as expected
with symlinks.  Noted while trying to use rmtree in new C-code pg_regress.

Modified Files:
--------------
    pgsql/src/port:
        copydir.c (r1.17 -> r1.18)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/copydir.c.diff?r1=1.17&r2=1.18)
        dirmod.c (r1.42 -> r1.43)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/dirmod.c.diff?r1=1.42&r2=1.43)

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

Предыдущее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: The Win32 DEF files that are generated for libpq contain the
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Rewrite pg_regress as a C program instead of a shell script.