Apache OpenOffice (AOO) Bugzilla – Issue 43567
Native w32 processes called by cygwin processes might loose environment variable changes
Last modified: 2013-08-07 15:34:52 UTC
Sorry for the the loose description, but the real problem is still unclear, but the resulting problem can be seen in issue 43225. With the following attached files the problem can be reproduced like this: First the failing example. (Cygwin perl calls dmake calls nmake.) [4nt-shell]perl syscall.pl echo C:\4NT401\4NT.EXE here C:\4NT401\4NT.EXE here set OS=egal && set GUI=gui && nmake /f f.mk (nmake disclaimer removed) echo %OS% %GUI egal gui echo WNT gui WNT gui Now the prove that it works when dmake is called directly and calls nmake: [4nt-shell]dmake echo C:\4NT401\4NT.EXE here C:\4NT401\4NT.EXE here set OS=egal && set GUI=gui && nmake /f f.mk (nmake disclaimer removed) echo %OS% %GUI egal gui echo egal gui egal gui It seems the problem does not arise for all variables, but at least OS and PWD (see tg_ext.mk" line 112) seem to be affected.
Created attachment 23043 [details] syscall.pl
Created attachment 23044 [details] makefile.mk
Created attachment 23045 [details] nmake makefile
Created attachment 73483
Reset assignee on issues not touched by assignee in more than 1000 days.