Hi Bruno,
Unfortunately, fixing the cygdrive bug has made things worse from the
point of view of emacs, at least on my system. Namely, I can't even
build emacs. The build produces warnings like the following and
ultimately fails:
Warning (unlock-file): Unlocking file: Invalid argument,
/home/kbrown/src/emacs/lock/lisp/font-lock.elch7bJkt, ignored
This is similar to what Katsumi reported in the emacs bug report I cited
at the beginning of this thread.
I decided to investigate /proc/cygdrive/c/pagefile.sys in a Cygwin shell
and got the following weird results:
$ ls -l /proc/cygdrive/c/pagefile.sys/
ls: cannot open directory '/proc/cygdrive/c/pagefile.sys/': Not a directory
$ ls -ld /proc/cygdrive/c/pagefile.sys/
drwxr-x--- 17664 Unknown+User Unknown+Group 0 1600-12-31 19:11
/proc/cygdrive/c/pagefile.sys//
Notice that the file is reported as a directory when 'ls -ld' is used,
and it has a timestamp way in the past.
I don't know what's going on, but it seems clear that pagefile.sys can't
be used reliably on Cygwin to get a boot time. I wonder if
get_boot_time should simply bail out on Cygwin and always give a boot
time of 0. Or do you have a better idea?
Ken