Wireshark-commits: [Wireshark-commits] rev 20437: /trunk/ /trunk/epan/dissectors/: packet-ethertype

Date: Mon, 15 Jan 2007 05:16:15 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=20437

User: ulfl
Date: 2007/01/15 05:16 AM

Log:
 instead of simply doing an assert when running out of memory in emem, throw a new OutOfMemoryError Exception, so file.c can show at least a better explanation to the user before Wireshark terminates
 
 XXX - to prevent a busy wait, I need a portable way to wait for a short time period, like Sleep() for Windows

Directory: /trunk/epan/dissectors/
  Changes    Path                  Action
  +3 -0      packet-ethertype.c    Modified
  +3 -0      packet-frame.c        Modified

Directory: /trunk/epan/
  Changes    Path            Action
  +11 -3     emem.c          Modified
  +6 -0      exceptions.h    Modified
  +6 -0      packet.c        Modified

Directory: /trunk/
  Changes    Path          Action
  +60 -4     file.c        Modified