RFR : 7149608 (tz): Default TZ detection fails on linux when symbolic links to non default location used.
sean.coffey at oracle.com
Mon Mar 12 15:11:39 UTC 2012
Yes - good catch. I hadn't tested the sym link being a relative path. We
should always open whatever is pointed to from DEFAULT_ZONEINFO_FILE.
This simplifies the code. Tested and looks good.
On 12/03/12 14:34, Alan Bateman wrote:
> On 12/03/2012 14:31, Seán Coffey wrote:
>> Ok - good point on the stat change Alan. I think this is what you're
>> after :
> At L295 then I assume itshould open DEFAULT_ZONEINFO_FILE, otherwise
> if the sym link is a relative path then it would be opened relative to
> the working directory rather than the link.
More information about the core-libs-dev