Brent Verner wrote:
> [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.
> 
> corrected diff attached.

You are going to feel even more ashamed when you realize you sent a
non-context diff.  :-)

I can't apply that.  I need diff -c.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to