Files
neovim/runtime/doc
bfredl 5581a53437 fix(shell): ceci n'est pas une pipe
On linux /dev/stdin is defined as a symlink to /proc/self/fd/0
This in turn is defined as a "magic" symlink which is allowed to point
to internal kernel objects which really does not have a file
name. As a glaring inconsistency, fopen("/proc/self/fd/0", "r")
works if fd was originally opened using pipe() but not using
socketpair(). As it happens UV_CREATE_PIPE does not create pipes
but creates socket pairs. These two unfortunate conditions
means that using /dev/stdin and similar does not work in
shell commands in nvim on linux. as a work around, override
libuv's descicion and create an actual pipe pair.

This change is not needed on BSD:s but done unconditionally for simplicity,
except for on windows where it is not done for stdout because of windows

fixes #35984
2026-01-13 09:41:51 +01:00
..
2026-01-07 08:11:42 +08:00
2026-01-12 03:50:57 +00:00
2025-12-08 01:43:02 -05:00
2024-05-15 23:19:26 +02:00
2026-01-07 08:11:42 +08:00
2025-12-15 13:55:15 -05:00
2025-12-06 20:33:02 -05:00
2025-12-06 20:33:02 -05:00
2025-12-06 20:33:02 -05:00
2023-06-25 17:14:28 +02:00
2026-01-07 08:11:42 +08:00
2025-12-06 20:33:02 -05:00
2025-12-16 13:46:04 -05:00
2026-01-12 03:50:57 +00:00
2026-01-07 08:11:42 +08:00
2025-12-15 13:55:15 -05:00
2025-12-15 13:55:15 -05:00
2025-12-15 13:55:15 -05:00
2025-06-14 17:24:36 +02:00
2025-11-15 22:47:38 -05:00
2025-12-15 13:55:15 -05:00
2025-09-28 20:57:59 -07:00
2026-01-13 09:41:51 +01:00
2025-12-15 13:55:15 -05:00
2026-01-12 03:50:57 +00:00
2025-12-15 13:55:15 -05:00
2025-12-06 20:33:02 -05:00
2025-12-15 13:55:15 -05:00
2025-12-06 20:33:02 -05:00
2025-12-16 12:55:32 +08:00
2026-01-07 08:11:42 +08:00
2025-12-06 20:33:02 -05:00
2025-12-06 20:33:02 -05:00
2025-12-15 13:55:15 -05:00
2025-12-16 13:46:04 -05:00
2025-12-16 12:55:32 +08:00
2025-12-15 13:55:15 -05:00