- diff --git a/bin/package b/bin/package
- index 260f326b..191feaec 100755
- --- a/bin/package
- +++ b/bin/package
- @@ -2475,7 +2475,7 @@ capture() # file command ...
- 0) # Connect 'tee' to a FIFO instead of a pipe, so that we can obtain
- # the build's exit status and use it for $error_status
- rm -f $o.fifo
- - mkfifo -m 600 $o.fifo || exit
- + mkfifo $o.fifo || exit
- (
- sleep 1
- # unlink early
- diff --git a/src/cmd/INIT/package.sh b/src/cmd/INIT/package.sh
- index 260f326b..191feaec 100644
- --- a/src/cmd/INIT/package.sh
- +++ b/src/cmd/INIT/package.sh
- @@ -2475,7 +2475,7 @@ capture() # file command ...
- 0) # Connect 'tee' to a FIFO instead of a pipe, so that we can obtain
- # the build's exit status and use it for $error_status
- rm -f $o.fifo
- - mkfifo -m 600 $o.fifo || exit
- + mkfifo $o.fifo || exit
- (
- sleep 1
- # unlink early
- diff --git a/src/lib/libast/port/astconf.c b/src/lib/libast/port/astconf.c
- index b6b58027..e6724481 100644
- --- a/src/lib/libast/port/astconf.c
- +++ b/src/lib/libast/port/astconf.c
- @@ -1355,6 +1355,24 @@ astgetconf(const char* name, const char* path, const char* value, int flags, Err
- Lookup_t look;
- Sfio_t* tmp;
- +#if 1
- + /*
- + * hack for Cygwin to make Cygwin UNC paths (with leading
- + * two slashes) work.
- + *
- + * Testcase:
- + * cd into UNC path, print "pwd -P", result must start with
- + * "//<hostname>/<path>"
- + * ---- snip ----
- + * $ bash -c 'cd "//derfw1fs10.global.loc/rfw" ; path_to_kshdir/ksh.exe -c "pwd -P ; true" ; true'
- + * //derfw1fs10.global.loc/rfw
- + * ---- snip ----
- + *
- + */
- + if (!strcmp(name, "PATH_LEADING_SLASHES")) {
- + return "1";
- + }
- +#endif
- if (!name)
- {
- if (path)
Cygwin ksh93 1.0.8 patch
Posted by Anonymous on Fri 22nd Mar 2024 09:37
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.