ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] rev 43095: /trunk/ /trunk/ui/gtk/: capture_file_dlg.c main.c

Date: Tue, 05 Jun 2012 02:46:55 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43095

User: guy
Date: 2012/06/04 07:46 PM

Log:
 Distinguish between "failed" and "user stopped it" for "save as" and
 "export specified packets".  For "failed", let the user try again with a
 different file, in case it failed due to, for example, running out of
 space or quota (probably the most likely failure mode for writing, and
 trying to a different volume might be the best workaround).  For "user
 stopped it", presumably they don't want to try again (the most likely
 reason is "it was taking too damn long").
  
 Put "Exporting to: ...", not "Saving: ..." in the statusbar if we're
 doing "export specified packets".
 
 In process_specified_packets(), allow a null range pointer to be
 specified, meaning "save 'em all"; that avoids the possibly-expensive
 (with a large capture) operation of initializing the range.
 
 If a "safe save" atop an existing file fails or is stopped, get rid of
 the temporary file we created.

Directory: /trunk/ui/gtk/
  Changes    Path                  Action
  +92 -47    capture_file_dlg.c    Modified
  +15 -0     main.c                Modified
  +50 -0     main_statusbar.c      Modified

Directory: /trunk/
  Changes    Path          Action
  +43 -26    file.c        Modified
  +23 -10    file.h        Modified