| От | Brent Verner |
|---|---|
| Тема | Re: [BUGS] COPY when 'filename' is a directory |
| Дата | |
| Msg-id | 20020224015622.GA22891@rcfile.org обсуждение исходный текст |
| Ответ на | Re: [BUGS] COPY when 'filename' is a directory (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [BUGS] COPY when 'filename' is a directory
|
| Список | pgsql-patches |
[2002-02-23 20:27] Tom Lane said:
| Bruce Momjian <pgman@candle.pha.pa.us> writes:
| > {
| > + struct stat st;
| > fp = AllocateFile(filename, PG_BINARY_R);
| > + fclose(fp);
|
| This coding is WRONG. You do not use fclose() to release a file
| opened with AllocateFile.
s/fclose/FreeFile/
hiding in shame,
brent
--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing." -- Duane Allman
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера