mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Add /dev/fd support to Windows
GNU bash needs this functionality, otherwise it can't do <(cmd...).
This commit is contained in:
parent
2e5f662dfe
commit
b3fb6cff43
6 changed files with 113 additions and 6 deletions
4
third_party/bash/config.h
vendored
4
third_party/bash/config.h
vendored
|
@ -542,7 +542,7 @@
|
|||
#define HAVE_HASH_BANG_EXEC 1
|
||||
|
||||
/* Define if you have the /dev/fd devices to map open files into the file system. */
|
||||
/* #define HAVE_DEV_FD 1 */
|
||||
#define HAVE_DEV_FD 1
|
||||
|
||||
/* Defined to /dev/fd or /proc/self/fd (linux). */
|
||||
#define DEV_FD_PREFIX "/dev/fd/"
|
||||
|
@ -1160,7 +1160,7 @@
|
|||
|
||||
/* #undef GETCWD_BROKEN */
|
||||
|
||||
/* #undef DEV_FD_STAT_BROKEN */
|
||||
#define DEV_FD_STAT_BROKEN
|
||||
|
||||
/* An array implementation that prioritizes speed (O(1) access) over space,
|
||||
in array2.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue