On Thu, 24 Oct 2013, Gisle Vanem wrote:
Okay. I've tested the following with MSVC and MingW. htttput.c now simply
uses stat():
Thanks, merged and pushed!
--
/ daniel.haxx.se
---
List admin: http://cool.haxx.se/list/listinfo/cur
On Thu, Oct 24, 2013 at 03:21:16PM +0200, Gisle Vanem wrote:
> Okay. I've tested the following with MSVC and MingW. htttput.c now
> simply uses stat():
Looks good to me!
>>> Dan
---
List admin: http://cool.haxx.se/list/listinfo/curl-
"Dan Fandrich" wrote:
But I'm not sure is needed at all.
It's needed for close(2). But the only reason that's needed is because fstat
is used instead of stat(2); if you fix that, then you could remove that
include altogether.
Okay. I've tested the following with MSVC and MingW. htttput.c n
On Tue, Oct 22, 2013 at 03:34:20PM +0200, Gisle Vanem wrote:
> Patch docs/examples/httpput.c for MSVC since it's missing :
>
> --- Git-latest/docs/examples/httpput.c 2013-01-28 15:48:38 +
> +++ docs/examples/httpput.c2013-10-09 11:54:26 +
> @@ -22,7 +22,9 @@
&g
Patch docs/examples/httpput.c for MSVC since it's missing :
--- Git-latest/docs/examples/httpput.c 2013-01-28 15:48:38 +
+++ docs/examples/httpput.c2013-10-09 11:54:26 +
@@ -22,7 +22,9 @@
#include
#include
#include
-#include
+#ifndef _MSC_VER
+# include
+#endif
#in