Ethereal-cvs: [Ethereal-cvs] rev 16597: /trunk/gtk/: print_dlg.c

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

Date: Sat, 26 Nov 2005 01:56:24 GMT
User: ulfl
Date: 2005/11/25 07:56 PM

Log:
 fix #358: instead of simply using tpmnam() for the Win32 print function, use the "official" function to create a temporary file
 
 Well, we actually only need the filename here, so create a temp file with the "official" create_tempfile function, keep that tempfile name and then delete this file again, leaving only the name.
 
 I know that's a bit uncommon, but should work and uses the same mechanisms as with other temporary files. So if there are still problems with the official function, we only have one place to fix :-)

Directory: /trunk/gtk/
  Changes    Path           Action
  +18 -2     print_dlg.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=16597&view=rev