Message159222
> futimens() has nice feature: it is possible to only update atime
> only update mtime, or use "now" as the new atime and/or mtime.
YAGNI. Worst case, you can use call futimes twice, once with no args, then fstat() it to get the current-ish time and rewrite the fields selectively.
Do you have code where you selectively use UTIME_NOW for only one of the two fields? |
|
Date |
User |
Action |
Args |
2012-04-24 22:15:16 | larry | set | recipients:
+ larry, gvanrossum, loewis, gregory.p.smith, ncoghlan, pitrou, vstinner, eric.araujo, Arfrever, r.david.murray, maubp, shaurz, rosslagerwall, python-dev |
2012-04-24 22:15:16 | larry | set | messageid: <1335305716.76.0.581218793096.issue14127@psf.upfronthosting.co.za> |
2012-04-24 22:15:16 | larry | link | issue14127 messages |
2012-04-24 22:15:16 | larry | create | |
|