Skip to content

Commit

Permalink
uv: upgrade to b0c1a38
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Oct 10, 2012
1 parent eec8c2e commit 87518f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/uv/src/win/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1137,9 +1137,12 @@ static void fs__utime(uv_fs_t* req) {

if (fs__utime_handle(handle, req->atime, req->mtime) != 0) {
SET_REQ_WIN32_ERROR(req, GetLastError());
CloseHandle(handle);
return;
}

CloseHandle(handle);

req->result = 0;
}

Expand Down
8 changes: 8 additions & 0 deletions deps/uv/test/runner-win.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
#include <stdio.h>
#include <process.h>
#include <windows.h>
#if !defined(__MINGW32__)
#include <crtdbg.h>
#endif


#include "task.h"
#include "runner.h"
Expand All @@ -44,6 +48,10 @@ void platform_init(int argc, char **argv) {
/* Disable the "application crashed" popup. */
SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX |
SEM_NOOPENFILEERRORBOX);
#if !defined(__MINGW32__)
_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_DEBUG);
_CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_DEBUG);
#endif

_setmode(0, _O_BINARY);
_setmode(1, _O_BINARY);
Expand Down

0 comments on commit 87518f1

Please sign in to comment.