Open fzwoch opened 5 years ago
The limit comes from the vcwine
script:
# wine seems to have a max on how long WINEPATH can be
export WINEPATH=${WINEPATH:0:1024}
Sadly it appears to be a bug in Wine itself. I filed a bug about it here.
Ah interesting. I guess 2048 would be a decent value to work with some things. Thanks for looking into it!
I've been looking into building Wine myself to work around some other issues. It's big and complicated, but if I can get that to work I'll also patch this problem.
the function set_registry_variables()
containing the 1024 sized buffer is not in process.c
anymore
I found another occurrence. Maybe this helps
Not sure where in the chain this is happening but I noticed that the PATH variable inside the container is limited to 1024 characters:
So even the base image seems to truncate the default
PATH
variable set by the MSVC build tools. Fortunately for the basic things this seems working fine. But things may fall apart when adding more custom paths.Is there a way to increase this limit? It seems that setting the
PATH
variable from inside a running container allows a bigger buffer.