Guy Harris
0629b7399a
Define ws_statb64 to be the appropriate "struct XXX" for a
...
64-bit-file-size-capable stat call, and use it for ws_fstat64().
svn path=/trunk/; revision=36545
2011-04-10 19:56:06 +00:00
Guy Harris
71d4caa5b9
Add ws_fstat64(), defined to be fstat on UN*X and _fstati64 on Windows.
...
Use it in some places where we're getting the file size.
svn path=/trunk/; revision=36544
2011-04-10 18:55:06 +00:00
Bill Meier
2e4f755e13
Define some vars & fcns as static;
...
Also: do some minor reformmating and cleanup of whitespace.
svn path=/trunk/; revision=34492
2010-10-12 19:26:07 +00:00
Jeff Morriss
674a4c9285
When freeing the fileset entries, free the entry itself too.
...
svn path=/trunk/; revision=33865
2010-08-20 22:13:46 +00:00
Guy Harris
db82269fde
Squelch some compiler warnings.
...
svn path=/trunk/; revision=32078
2010-03-02 00:18:48 +00:00
Stig Bjørlykke
a055fd2cf1
Removed some unused assignments.
...
svn path=/trunk/; revision=30920
2009-11-10 13:28:54 +00:00
Bill Meier
94f28dd8f9
(FWIW) One step towards including stdio.h & stdlib.h only when req'd.
...
svn path=/trunk/; revision=29568
2009-08-26 19:27:49 +00:00
Gerald Combs
e648060f0f
Fix the last(?) of the Win64 compilation problems.
...
svn path=/trunk/; revision=28065
2009-04-16 04:05:39 +00:00
Gerald Combs
09bf9e6946
ETH -> WS updates.
...
svn path=/trunk/; revision=26570
2008-10-27 04:47:57 +00:00
Jeff Morriss
a5cee04fad
Move the file utility functions from wiretap to libwsutil so that
...
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.
While doing that, rename the eth_* functions to ws_*.
svn path=/trunk/; revision=25354
2008-05-22 15:46:27 +00:00
Guy Harris
fad7133f81
Fix yet more casts of ctype.h macro arguments - and fix some cases where
...
we were passing an uncasted "char" to those macros.
svn path=/trunk/; revision=22306
2007-07-14 00:37:01 +00:00
Tomas Kukosa
e0e1f28b64
suffix in file set is optional
...
svn path=/trunk/; revision=20023
2006-11-30 07:30:20 +00:00
Ulf Lamping
6bacefdd2d
fix a minor bug: don't show a single file twice in the fileset dialog
...
svn path=/trunk/; revision=19078
2006-08-29 21:03:33 +00:00
Ronnie Sahlberg
89f022b12b
name change
...
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Guy Harris
ca781ff145
Use eth_dir_open(), not g_dir_open(); g_dir_open() isn't available in
...
GLib 1.2[.x].
svn path=/trunk/; revision=16412
2005-11-07 08:36:25 +00:00
Ulf Lamping
c3187174bf
replace *a lot* of file related calls by their GLib counterparts. This is 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
2005-11-06 22:43:25 +00:00
Ulf Lamping
e5af0106ac
while sorting the entries, don't use the file creation date but the filename for comparison
...
svn path=/trunk/; revision=15411
2005-08-18 19:19:59 +00:00
Jörg Mayer
956eee946f
Some 'no previous declararion' warning fixes
...
svn path=/trunk/; revision=15355
2005-08-14 23:25:20 +00:00
Ulf Lamping
fdfc5ea797
do some code cleanup (from the previous commit) and close the directories opened with opendir/g_dir_open
...
svn path=/trunk/; revision=14394
2005-05-18 19:02:11 +00:00
Ulf Lamping
01ca09e597
don't crash, if the given filename doesn't contain a dot e.g. 'test123'
...
svn path=/trunk/; revision=14390
2005-05-18 01:21:49 +00:00
Ulf Lamping
be9bdd1fee
(hopefully) removed various gcc warnings
...
svn path=/trunk/; revision=14241
2005-04-30 15:39:40 +00:00
Ulf Lamping
ab066c9e87
fix buildbot reported problems (unix related), part 4, more GLib 1.x related
...
svn path=/trunk/; revision=14240
2005-04-30 12:56:40 +00:00
Ulf Lamping
64fc9ea002
fix buildbot reported problems (unix related), part 3, don't use GError with GLib 1.x
...
svn path=/trunk/; revision=14239
2005-04-30 11:24:52 +00:00
Ulf Lamping
674d345379
fix buildbot reported problems (unix related), part 2, add some missing #includes
...
svn path=/trunk/; revision=14235
2005-04-29 22:06:47 +00:00
Ulf Lamping
a7de0371a4
fix buildbot reported problems (unix related), part 1
...
svn path=/trunk/; revision=14234
2005-04-29 20:05:39 +00:00
Ulf Lamping
a48744a84b
add a new feature: list the files of a "File Set" (set of files generated by capturing "Multiple Files"/ringbuffer) and jump from one file of it to the next/previous one
...
svn path=/trunk/; revision=14231
2005-04-29 14:51:52 +00:00