ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49366] Differences between system.getenv and Ant 1.8.1 <property env=""/>
Date Mon, 14 Jun 2010 08:59:38 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49366

--- Comment #6 from Stefan Bodewig <bodewig@apache.org> 2010-06-14 04:59:36 EDT ---
(In reply to comment #4)

> Only in 1.8.1: BEGINLIBPATH=D:\DEV\JAVA150\JRE\BIN;

> Note also that this variable is not present in the LIBC's environ array on OS/2
> (which means it's not part of the process environment at all and cannot be
> acessed with getenv()/setenv(), there is a special Dos* API for that).

So it likely doesn't hurt if it is no longer there in the future.  Just
something
we need to document.

> The reason why it appears in the System.getenv() map is because it is
> specifically added there by the "native" code

It is not part of getenv but of our old codebase which just invokes
cmd /c set for us.

> I hope I provided enough details, but feel free to ask if you need more.

yes you did, many thanks.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message