Ethereal-dev: Re: [Ethereal-dev] [Patch] eth_mkdir()

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gisle Vanem <giva@xxxxxxxxx>
Date: Sat, 12 Nov 2005 14:15:24 +0100
Ops, should be:

--- SVN-Latest\wiretap\file_util.h      Wed Nov 09 17:00:30 2005
+++ wiretap\file_util.h Sat Nov 12 14:14:42 2005
@@ -62,14 +62,15 @@
#define eth_open       _open
#define eth_stat       _stat
#define eth_unlink     _unlink
+#define eth_mkdir(p,a) mkdir(p)
#else
#define eth_open       open
#define eth_stat       stat
#define eth_unlink     unlink
+#define eth_mkdir(p,a) mkdir(p,a)
#endif

#define eth_rename     rename
-#define eth_mkdir      mkdir
#define eth_remove     remove
#define eth_fopen      fopen
#define eth_freopen    freopen

--gv