summaryrefslogtreecommitdiff
path: root/wiretap/file_util.h
AgeCommit message (Collapse)AuthorFilesLines
2007-08-09Parenthesize macro arguments.Guy Harris1-1/+1
svn path=/trunk/; revision=22480
2007-08-09Fix for bug 1659:Jaap Keuter1-1/+1
Changed eth_dir_get_name(dirent) macro svn path=/trunk/; revision=22478
2007-01-12Win32: MSVC > 6 doesn't work well with Unicode filenames!Ulf Lamping1-21/+30
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 ... svn path=/trunk/; revision=20402
2007-01-03from Laurent Rabret:Ulf Lamping1-1/+1
I posted a patch about 1.5 years ago for the formerly Ethereal to successfully compiled with Visual > 6. I have always successfully used this patched Ethereal/Wireshark compiled with VS 2003 and have just checked when compiled with Visual C++ 2005 Express svn path=/trunk/; revision=20282
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-11-12minor mkdir bugfix from Gisle VanemUlf Lamping1-2/+3
svn path=/trunk/; revision=16492
2005-11-07The standard <dirent.h> routines to rewind and close a directory areGuy Harris1-13/+13
rewinddir() and closedir(). Clean up indentation. svn path=/trunk/; revision=16415
2005-11-07as mkstemp makes trouble and is only used once in util.c, move definition ↵Ulf Lamping1-3/+0
from file_util.h to util.c for now this hopefully fixes the mkstemp problem svn path=/trunk/; revision=16406
2005-11-06Get rid of CRs and set svn:eol-style to native, so that Windows machinesGuy Harris1-127/+127
get the CRs and UN*X machines don't. Also set svn:keywords to Id to expand RCS IDs. svn path=/trunk/; revision=16405
2005-11-06Obviously, <glib/gstdio.h> is available since GLib version 2.6 only ...Ulf Lamping1-1/+1
svn path=/trunk/; revision=16404
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is ↵Ulf Lamping1-0/+127
necessary for the switch to GTK 2.6 (at least on WIN32). to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place. deleted related things from config.h.win32 As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon. svn path=/trunk/; revision=16403