On Wednesday, July 7 2010, "Robert Elz" wrote to "tz@lecserver.nci.nih.gov" saying:
Just make a link() function that does link() { return -1; } That will be enough to cause zic to fall back to symlinks() instead, and those should work on Windows.
Symbolic links only exist on Windows Vista or later (and only on NTFS), and there's no symlink() system function -- you'd have to wrap CreateSymbolicLink. Shortcut files (.lnk files) have existed for a very long time, but they're a higher-level abstraction which is opaque to low-level file system calls (i.e., the low-level APIs just see the file with the .lnk extension). This is why I recommended that the tzcode be built with -DHAVE_SYMLINK=0 for MinGW. If you have neither a working link() nor a working symlink(), zic bails out at the first Link in the tzdata, which happens to be Antarctica/South_Pole -> Antarctica/McMurdo. -- Jonathan Lennox lennox@cs.columbia.edu