Issue Details (XML | Word | Printable)

Key: JRUBY-2887
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Thomas E Enebo
Reporter: Nicholas Riley
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JRuby

jna-posix set file access time

Created: 02/Aug/08 09:28 PM   Updated: 15/Dec/08 04:57 PM
Component/s: Core Classes/Modules
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File utimes.patch (3 kB)
2. Text File utimes2.patch (5 kB)


Patch Submitted: Yes


 Description  « Hide
jna-posix has no way to set the file access time. The attached patch implements utimes(2).

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Nicholas Riley added a comment - 03/Aug/08 04:31 AM
Forgot about Windows. This version is tested on OS X, Linux and Windows.

Philip Jenvey added a comment - 19/Nov/08 04:38 PM
Note that this patch has some issues on 64 bit platforms, so shouldn't be committed as is. nriley and I can commit to the jna-posix repo now anyway

Thomas E Enebo added a comment - 20/Nov/08 10:25 AM
So you guys are working out the wrinkles still and will commit it when it's ready?

Philip Jenvey added a comment - 14/Dec/08 12:08 AM
Righto

Philip Jenvey added a comment - 15/Dec/08 02:09 PM
This was committed to jna-posix, 92037116ce84/76492a187ed8 – you can close this ticket out

I went ahead and patched JRuby to use it: JRUBY-3244


Thomas E Enebo added a comment - 15/Dec/08 04:57 PM
See pjenvey for commit info. Done.