| От | Ian Lance Taylor |
|---|---|
| Тема | Re: Remove sort files |
| Дата | |
| Msg-id | silmnn8tfw.fsf@daffy.airs.com обсуждение исходный текст |
| Ответ на | Re: Remove sort files (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Remove sort files
|
| Список | pgsql-patches |
Bruce Momjian <pgman@candle.pha.pa.us> writes: > + if (temp_de->d_type == DT_REG) The d_type field, and the corresponding macros such as DT_REG, are not portable. The only portable field in the dirent structure is d_name. If you want to be really really super portable, you have to think about supporting direct.h and other header files. See AC_DIR_HEADER and AC_HEADER_DIRENT in the autoconf documentation. But these days probably every OS of interest supports dirent.h, which is defined by POSIX. Ian
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера