#849: OS.pmc - update file times
---------------------+------------------------------------------------------
Reporter: jkeenan | Owner:
Type: todo | Status: new
Priority: normal | Milestone:
Component: core | Version: 1.3.0
Severity: medium | Keywords: pmc
Lang: | Patch:
Platform: all |
---------------------+------------------------------------------------------
Comment(by jkeenan):
Replying to [ticket:849 jkeenan]:
>
> '''The OS pmc provides a mechanism for getting mtime and atime, but
> doesn't provide a mechanism to set them. (required, e.g. by tcl's
> [file atime] and [file mtime]'''
>
Is what is being requested here anything other than an implementation of
the Perl 5 `utime()` function?
If so:
(a) How do we resolve the ambiguities about `utime` and `utimes` mentioned
in the BSD and Linux `man` pages?
BSD (via darwin): `man utime`
{{{
This interface is obsoleted by utimes(2).
}}}
Linux: `man utime`
{{{
POSIX.1-2001 marks utimes() legacy, which is strange since it
provides more
functionality than utime().
}}}
(b) Can we do anything with the fact that we pick up `i_utime` -- but
apparently not `d_futimes` -- from the Perl 5 `%Config`?
Thank you very much.[[BR]]
kid51
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/849#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets