[Issue 12054] New: PATH env. var longer than 1022 characters breaks OPTLINK search path
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 31 20:47:35 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12054
Summary: PATH env. var longer than 1022 characters breaks
OPTLINK search path
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: link-failure
Severity: normal
Priority: P2
Component: Optlink
AssignedTo: nobody at puremagic.com
ReportedBy: thecybershadow at gmail.com
--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-02-01 06:47:29 EET ---
If the system PATH variable is longer than 1022 characters, OPTLINK will fail
to find phobos.lib and link D programs.
My guess is that the PATH variable contents is clobbering the LIB variable's,
which happens to be adjacent in memory.
It's possible that the order of variables within the environment block also
matters.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list