[2002-02-23 20:27] Tom Lane said: | Bruce Momjian <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]