Nevermind on this patch. I hadn't seen the "beginnings of a patch" thread on the main Cygwin list yet when I wrote and posted this. Perhaps some ideas from this script can be salvaged; I'd rather merge any such ideas into that script than make my script feature-competitive with the other one.