diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-07-27 22:10:11 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-07-27 22:10:11 +0400 |
commit | 8430148ccba72e313c9f99da05987a7c9d29c9ba (patch) | |
tree | d30b68a7b195966113afb632fe0485e43792823b /deps | |
parent | 562bef5ff3e04701098f180177d26634f5bcd003 (diff) |
uv: upgrade to fc7bc2b
Diffstat (limited to 'deps')
-rw-r--r-- | deps/uv/include/uv-win.h | 2 | ||||
-rw-r--r-- | deps/uv/msvs/libuv.vcxproj | 1 | ||||
-rw-r--r-- | deps/uv/src/win/process.c | 36 |
3 files changed, 39 insertions, 0 deletions
diff --git a/deps/uv/include/uv-win.h b/deps/uv/include/uv-win.h index 5bbb44612a3..b58c11b44a0 100644 --- a/deps/uv/include/uv-win.h +++ b/deps/uv/include/uv-win.h @@ -158,5 +158,7 @@ typedef struct uv_buf_t { struct addrinfoW* res; \ int retcode; +#define UV_PROCESS_PRIVATE_FIELDS \ + int uv_utf16_to_utf8(wchar_t* utf16Buffer, size_t utf16Size, char* utf8Buffer, size_t utf8Size); int uv_utf8_to_utf16(const char* utf8Buffer, wchar_t* utf16Buffer, size_t utf16Size); diff --git a/deps/uv/msvs/libuv.vcxproj b/deps/uv/msvs/libuv.vcxproj index 8a9975d6d85..9d97bf8454b 100644 --- a/deps/uv/msvs/libuv.vcxproj +++ b/deps/uv/msvs/libuv.vcxproj @@ -133,6 +133,7 @@ <ClCompile Include="..\src\win\handle.c" /> <ClCompile Include="..\src\win\loop-watcher.c" /> <ClCompile Include="..\src\win\pipe.c" /> + <ClCompile Include="..\src\win\process.c" /> <ClCompile Include="..\src\win\req.c" /> <ClCompile Include="..\src\win\stdio.c" /> <ClCompile Include="..\src\win\stream.c" /> diff --git a/deps/uv/src/win/process.c b/deps/uv/src/win/process.c new file mode 100644 index 00000000000..7e978565f3e --- /dev/null +++ b/deps/uv/src/win/process.c @@ -0,0 +1,36 @@ +/* Copyright Joyent, Inc. and other Node contributors. All rights reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + */ + +#include <assert.h> + +#include "uv.h" +#include "../uv-common.h" +#include "internal.h" + + +int uv_spawn(uv_process_t* process, uv_process_options_t options) { + assert(0 && "implement me"); +} + + +int uv_process_kill(uv_process_t* process, int signum) { + assert(0 && "implement me"); +} |