Andy Piper writes:
> You're correct in assuming that (current-time-string) gives
the
> correct result
> always. However, i've never seen this behaviour with the native
> windows port of
> XEmacs, only with the cygwin version.... so why does only the
> windows version
> do-the-right-thing?
This is a known problem with cygwin which Phil Aston has provided a
fix for but which the cygwin maintainers refuse to apply (or at
least that was the status quo a few months ago). The problem is due
to some inappropriate uses of win32 function calls in the cygwin
dll.
To be fair to cgf, the saga went something like this:
- I wrote a one line patch that worked around cygwin's abuse (MHO)
of win32 process counters for time of day functions
- cgf rejected it and suggested I "fix it properly"
- I fixed it properly (listen to suspend/resume events)
- cgf said "nice work, but I've decided that we shouldn't be
abusing process counters; I'll rewrite the time of day stuff"
- I sighed deeply, but I was happy that at least a fix was on the
way
Apparently (I haven't checked) cgf's fix is in latest cygwin snapshot
dll.
- Phil
--
Philip Aston - Senior Consultant
BEA Professional Services