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, 3 Feb 2000 00:35:34 -0600 (CST)
guy         2000/02/03 00:35:32 CST

  Modified files:
    .                    file.c 
  Log:
  Change from Ed Meaney - when doing a "Save" or "Save As" that saves all
  packets and doesn't change the capture file format, i.e. that's done by
  a raw copy, read the file in binary.  (XXX - does "creat()", on Win32,
  open the file in ASCII or binary mode?  If ASCII, we may have to use
  
  	open(fname, O_CREAT|O_TRUNC|O_WRONLY|O_BINARY, 0644)
  
  rather than
  
  	creat(fname, 0644)
  
  so that the output file is written in binary as well.)
  
  Revision  Changes    Path
  1.162     +3 -2      ethereal/file.c