Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal file.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 23 Sep 1999 00:56:01 -0500 (CDT)
guy         1999/09/23 00:55:59 CDT

  Modified files:
    .                    file.c 
  Log:
  Make the buffer into which we read from the sync pipe one byte bigger
  than the size of the reads we do, so that we have an extra byte at the
  end into which we can stick a '\0' to guarantee null-termination of the
  buffer.
  
  When reading the capture file in "tail_cap_file()", use "file_open()"
  rather than "fopen()", so that we work correctly if we're using "zlib"
  to read capture files.
  
  Revision  Changes    Path
  1.97      +3 -3      ethereal/file.c