aboutsummaryrefslogtreecommitdiffstats
path: root/mkstemp.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-02Pull mkstemp() into tempfile.c. That's the only place we use it now, andgerald1-88/+0
it's arguably the only place we _should_ use it. Add create_tempdir() to tempfile.c and use it to create a temp directory for IP maps. This should fix bug 3530. (This still doesn't work on IE 8 / Vista here. IE gives an access denied error in OpenLayers.js, but this is a separate issue). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28920 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-22Move the file utility functions from wiretap to libwsutil so thatmorriss1-2/+2
libwireshark (and the plugins using those functions) do not depend on wiretap on Windows. While doing that, rename the eth_* functions to ws_*. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25354 f5534014-38df-0310-8fa8-9805f1628bb7
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is ↵ulfl1-6/+2
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16403 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20- Include the .h files in their .c files.jmayer1-0/+2
- Remove epan/dissectors/packet-sna.h, it isn't used anywhere. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15475 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-18several times replacing:ulfl1-1/+3
sprintf -> g_snprintf snprintf -> g_snprintf vsnprintf -> g_vsnprintf strdup -> g_strdup git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15412 f5534014-38df-0310-8fa8-9805f1628bb7
2004-06-29define of O_BINARY not needed, if fcntl.h is includedulfl1-3/+8
other #include related cleanups git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11272 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-28Removed trailing whitespaces from .h and .c files using thejmayer1-1/+1
winapi_cleanup tool written by Patrik Stridvall for the wine project. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6117 f5534014-38df-0310-8fa8-9805f1628bb7
2000-02-09Integrate Ed Meaney's <emeaney@altiga.com> changes for using libpcapgram1-1/+4
from WinDump with Ethereal. We now have packet capturing on Win32. :) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1612 f5534014-38df-0310-8fa8-9805f1628bb7
2000-01-15Merge in the final code to make Ethereal run on Win32, compiledgram1-0/+11
with MSVC 6.0 and 'nmake', the make tool that comes with MSVC. It compiles, links, and runs. It doesn't run correctly. There's a problem when reading files. I'm getting short reads. I'm not linking in zlib or libsnmp because it first needs to be debugged. I changed the plugin code to use gmodule instead of libltdl, but the Unix build still links ethereal against libltdl. I'll fix that tonight; sorry about leaving it in such a sad state, but I wanted to check in this code before I left work on a Friday night. Ethereal still works, but the building is less than optimal. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1479 f5534014-38df-0310-8fa8-9805f1628bb7
1999-10-01Uwe Girlich's patch to handle OSes (e.g., SINIX) that lackguy1-0/+69
"strncasecmp()" or "mkstemp()"; add in source to the GNU "libc" versions, and have the "configure" script check for the routines in question and set up the Makefile to build from our versions if they're missing. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@745 f5534014-38df-0310-8fa8-9805f1628bb7