Author: cfinck
Date: Wed Jan 9 00:22:27 2008
New Revision: 31676
URL: http://svn.reactos.org/svn/reactos?rev=31676&view=rev
Log:
Also create the temporary directory if it does not exist.
See issue #2518 for more details.
Modified:
trunk/reactos/Makefile
Modified: trunk/reactos/Makefile
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/Makefile?rev=31676&r1=3167…
==============================================================================
--- trunk/reactos/Makefile (original)
+++ trunk/reactos/Makefile Wed Jan 9 00:22:27 2008
@@ -372,6 +372,9 @@
${mkdir} $@
endif
+$(TEMPORARY):
+ ${mkdir} $@
+
BUILDNO_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)buildno.h
include lib/lib.mak
Author: cwittich
Date: Tue Jan 8 20:16:51 2008
New Revision: 31673
URL: http://svn.reactos.org/svn/reactos?rev=31673&view=rev
Log:
fix downloader!
Modified:
trunk/reactos/dll/win32/wininet/http.c
Modified: trunk/reactos/dll/win32/wininet/http.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wininet/http.c?r…
==============================================================================
--- trunk/reactos/dll/win32/wininet/http.c (original)
+++ trunk/reactos/dll/win32/wininet/http.c Tue Jan 8 20:16:51 2008
@@ -3027,8 +3027,11 @@
/*
* HACK peek at the buffer
*/
+#if 0
+ /* This is Wine code, we don't support MSG_PEEK yet so we have to do it
+ a bit different */
NETCON_recv(&lpwhr->netConnection, buffer, buflen, MSG_PEEK, &rc);
-
+#endif
/*
* We should first receive 'HTTP/1.x nnn OK' where nnn is the status code.
*/
@@ -3036,6 +3039,9 @@
memset(buffer, 0, MAX_REPLY_LEN);
if (!NETCON_getNextLine(&lpwhr->netConnection, bufferA, &buflen))
goto lend;
+#if 1
+ rc = buflen;
+#endif
MultiByteToWideChar( CP_ACP, 0, bufferA, buflen, buffer, MAX_REPLY_LEN );
/* regenerate raw headers */