Wireshark-commits: [Wireshark-commits] rev 27674: /trunk/gtk/ /trunk/gtk/: file_dlg_win32.c

Date: Mon, 09 Mar 2009 13:59:42 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27674

User: wmeier
Date: 2009/03/09 06:59 AM

Log:
 Fix File ! Export ! Selected Bytes [Windows] crash which
   occurred if the file  path\filename contained non-ascii characters.
   1. Use ws_open() [not open()] so UTF8 path\filenames properly
      converted to UTF16 before the open;
   2. If the open/write/close failed, fix crash due to NULL
      filename pointer used when trying to popup an error message box.

Directory: /trunk/gtk/
  Changes    Path                Action
  +8 -7      file_dlg_win32.c    Modified