BUG #4965: missing tests in tools/fsync/test_fsync.c

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема BUG #4965: missing tests in tools/fsync/test_fsync.c
Дата
Msg-id 200908051446.n75EkoJ8012542@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4965: missing tests in tools/fsync/test_fsync.c  (Robert Haas <robertmhaas@gmail.com>)
Re: BUG #4965: missing tests in tools/fsync/test_fsync.c  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4965
Logged by:          Jeff Janes
Email address:      jeff.janes@gmail.com
PostgreSQL version: 8.4.0
Operating system:   Linux
Description:        missing tests in tools/fsync/test_fsync.c
Details:

In the part that implements "Compare file sync methods with one 8k write",
the #ifdef OPEN_SYNC_FLAG code
is nested within the #ifdef OPEN_DATASYNC_FLAG code.

This causes o_sync to be skipped if o_dsync is unavailable, but only for
this particular section (the section with 2 8k writes doesn't have this
problem.)

Also, the statement that prints the "Compare file sync methods with one 8k
write" section title is up in the #ifdef block of a previous section, where
it might be omitted on systems without an o_sync.

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #4964: return value does not agree with documentation
Следующее
От: "walkerlacombe"
Дата:
Сообщение: BUG #4966: wrong password.....