JRuby

[PATCH] Support atime updates via utime

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1.5
  • Fix Version/s: JRuby 1.2
  • Component/s: Core Classes/Modules
  • Labels:
    None
  • Testcase included:
    yes
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

This makes File.utime fully functional, with tests. requires the latest jna-posix (76492a187ed8, see JRUBY-2887)

This also fixes numeric arguments being interpreted as milliseconds instead of seconds (and float fractions being ignored for usec in that case), and now disallows one of the time values to be nil (they must be both or neither nil)

Activity

Hide
Thomas E Enebo added a comment -

Fixed in commit 8382. Thanks Philip. I think we will need to return the favor and provide a fix for Jython!

Show
Thomas E Enebo added a comment - Fixed in commit 8382. Thanks Philip. I think we will need to return the favor and provide a fix for Jython!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: