Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8343785

(fs) Remove syscalls that set file times with microsecond precision

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • core-libs
    • b25
    • generic
    • linux, os_x, aix

      It looks like the syscalls futimens and utimensat (POSIX.1-2008, glibc 2.10), which set file times with nanosecond precision, post-date the original code and are now supported on all platforms of interest, so the syscalls utimes (POSIX.1-2001), futimes (glibc 2.3), and lutimes (glibc 2.6) should be able to be removed.

      https://pubs.opengroup.org/onlinepubs/9699919799/functions/utimensat.html
      https://man7.org/linux/man-pages/man2/utimensat.2.html

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: