Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal ethereal.c util.c util.h

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: Tue, 17 Aug 1999 21:59:10 -0500 (CDT)
guy         1999/08/17 21:59:08 CDT

  Modified files:
    .                    ethereal.c util.c util.h 
  Log:
  Make a "create_tempfile()" routine that constructs the template to be
  used by "mkstemp()" into a buffer supplied as an argument, trying
  several directories for the tempfile, in the same fashion that the BSD
  (and probably other) "tempnam()" routines do.
  
  Have that routine cope with temporary-file directory names that don't
  end with "/", as "P_tmpdir" doesn't necessarily end with "/" (and
  doesn't, in GNU "libc" 2.x, at least on Linux); thanks to Gilbert
  Ramirez for catching this one, and supplying the code to cope with that.
  
  Have the code that creates the temporary file for the "Follow TCP
  Stream" text use it.
  
  Revision  Changes    Path
  1.94      +3 -5      ethereal/ethereal.c
  1.17      +87 -1     ethereal/util.c
  1.11      +3 -1      ethereal/util.h