Wireshark-commits: [Wireshark-commits] rev 50482: / /trunk/epan/: CMakeLists.txt Makefile.common st

Date: Wed, 10 Jul 2013 16:18:39 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50482

User: cmaynard
Date: 2013/07/10 09:18 AM

Log:
 Add strnatcmp by Martin Pool for 'natural order' string comparisons, and make use of it in editcap and mergecap for listing encapsulation types.  For example:
 Before:
     user0 - USER 0
     user1 - USER 1
     user10 - USER 10
     user11 - USER 11
     user12 - USER 12
     user13 - USER 13
     user14 - USER 14
     user15 - USER 15
     user2 - USER 2
     user3 - USER 3
     user4 - USER 4
     user5 - USER 5
     user6 - USER 6
     user7 - USER 7
     user8 - USER 8
     user9 - USER 9
 
 After:
     user0 - USER 0
     user1 - USER 1
     user2 - USER 2
     user3 - USER 3
     user4 - USER 4
     user5 - USER 5
     user6 - USER 6
     user7 - USER 7
     user8 - USER 8
     user9 - USER 9
     user10 - USER 10
     user11 - USER 11
     user12 - USER 12
     user13 - USER 13
     user14 - USER 14
     user15 - USER 15

Directory: /trunk/epan/
  Changes    Path               Action
  +1 -0      CMakeLists.txt     Modified
  +2 -0      Makefile.common    Modified
  +202 -0    strnatcmp.c        Added
  +49 -0     strnatcmp.h        Added

Directory: /trunk/
  Changes    Path               Action
  +2 -0      CMakeLists.txt     Modified
  +2 -1      Makefile.common    Modified
  +3 -3      Makefile.nmake     Modified
  +10 -2     editcap.c          Modified
  +14 -1     mergecap.c         Modified