Maybe it can simply be fixed by changing the order of setting up locale stuff and applying the expansion in cygwin?(I would look into the code if I had a clue where to find the respective things.)
I would guess dcrt0.cc, the Cygwin DLL runtime initialization. ..mark -- 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