-
Notifications
You must be signed in to change notification settings - Fork 632
Closed
Description
I just ran into this error.
My LS_COLORS env var is rather big (~5kb), which lead to:
Error: too long environment variables, please use --rmenv
I also can not work around the problem by passing --rmenv=LS_COLORS setting rmenv LS_COLORS in globals.local does also not work.
The problem is that calling unsetenv(*ptr) in main does not modify the envp passed to main(), extern char ** environ; should be used instead. Also I guess, that the profile is loaded after the check, so setting it in a profile won't work. Maybe this should be supported?
Also I don't understand what this check is trying to accomplish, any explanation would be appreciated.
For now I can just increase the limit by patching and recompiling myself.
dadav, MahouShoujoMivutilde, haarp, s-hamann, Tanath and 3 more
Metadata
Metadata
Assignees
Labels
No labels