On 2025-09-18 13:09, Bruno Haible via Cygwin wrote:
Please, can you handle this bug report, specific to Cygwin?
The GNU bash maintainer cannot reproduce it, as he doesn't use Cygwin.
https://lists.gnu.org/archive/html/bug-bash/2025-09/msg00186.html
Confirm it hangs in bash but not with dash/ash:
$ dash ./here-toobig.sh
here-toobig.sh: error: cannot find input file: 'Makefile.in'
$ grep -nC3 echo\ \'BEGIN here-toobig.sh
861- ac_cs_awk_cr=$ac_cr
862-fi
863-
864:echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
865-cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
866-S["gltests_libgnu_LIBOBJDEPS"]=""
867-S["gltests_libgnu_LTLIBOBJS"]=""
$ awk '866 <= FNR && FNR <= 2710' here-toobig.sh | wc -lwmcL
1845 2041 65563 65563 177
and Cygwin works with 64KB "pages" and temp buffer sizes.
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut
-- Antoine de Saint-Exupéry
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple