Wireshark-commits: [Wireshark-commits] rev 20402: /trunk/ /trunk/plugins/asn1/: Makefile.nmake /tru

Date: Fri, 12 Jan 2007 03:05:28 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=20402

User: ulfl
Date: 2007/01/12 03:05 AM

Log:
 Win32: MSVC > 6 doesn't work well with Unicode filenames!
 
 fix this, by providing required functions in the new file file_util.c - it's mostly copied from GLib (g_open alike - that take UTF8 as filename format but don't use msvcrt.dll V6 for this as the glib files do) 
 
 "link" to these functions in file_util.h: #define eth_open eth_stdio_open
 
 revert changes (from SVN 20282) throughout the code related to these file functions which were introduced with the first tries of MSVC 2005 ...
 
 Hopefully I've done everything right with the new file_util.c ...

Directory: /trunk/plugins/asn1/
  Changes    Path              Action
  +1 -1      Makefile.nmake    Modified

Directory: /trunk/epan/
  Changes    Path            Action
  +1 -10     filesystem.c    Modified

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

Directory: /trunk/plugins/mate/
  Changes    Path              Action
  +1 -1      Makefile.nmake    Modified

Directory: /trunk/
  Changes    Path              Action
  +1 -1      capture_opts.c    Modified
  +2 -10     tempfile.c        Modified

Directory: /trunk/wiretap/
  Changes    Path               Action
  +3 -0      Makefile.common    Modified
  +1 -1      Makefile.nmake     Modified
  +475 -0    file_util.c        Added
  +28 -19    file_util.h        Modified
  +1 -1      file_wrappers.h    Modified


(1 file not shown)