This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit 77382e7209f62a1837a4781b55f95e11389a1229
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Fri Mar 4 10:53:59 2022 +0800

    process-spawn.c: switch uv_socketpair to uv_pipe
    
    to remove the socket dependence
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 system/libuv/0001-libuv-port-for-nuttx.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/system/libuv/0001-libuv-port-for-nuttx.patch 
b/system/libuv/0001-libuv-port-for-nuttx.patch
index bcec2bd..f930185 100644
--- a/system/libuv/0001-libuv-port-for-nuttx.patch
+++ b/system/libuv/0001-libuv-port-for-nuttx.patch
@@ -738,7 +738,7 @@ index 0f4bf938..dd36028b 100644
    time_base = loop->time;
 diff --git a/src/unix/process-spawn.c b/src/unix/process-spawn.c
 new file mode 100644
-index 00000000..78401ca5
+index 00000000..755efc84
 --- /dev/null
 +++ b/src/unix/process-spawn.c
 @@ -0,0 +1,368 @@
@@ -865,7 +865,7 @@ index 00000000..78401ca5
 +    if (container->data.stream->type != UV_NAMED_PIPE)
 +      return UV_EINVAL;
 +    else
-+      return uv_socketpair(SOCK_STREAM, 0, fds, 0, 0);
++      return uv_pipe(fds, 0, 0);
 +
 +  case UV_INHERIT_FD:
 +  case UV_INHERIT_STREAM:

Reply via email to