Thu May 10 20:31:00 GMT 2001
On Thu, May 10, 2001 at 01:24:18PM +0400, egor duda wrote:
>you're right. always calling GetEnvironmentVariable is a waste of
>time. i've changed my patch to
>- avoid repeated scanning of forced env vars list.
>- look into native environment only when needed.
>- don't truncate forced vars values to MAX_PATH symbols.
This still wasn't quite what I had envisioned. I checked in a patch
that combines your code with my conception of what needed to be done.
My patch is probably slower than yours but it is quite a bit more
More information about the Cygwin-patches