1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Ticket #376 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Need a portable way to set file timestamps

Reported by: jkoshy Owned by:
Priority: major Milestone: RELEASE_1_0
Component: libelftc Version:
Keywords: Cc:


We need a portable way to set file timestamps:

  • Minix3 supports the (obsolescent) POSIX utime() system call.
  • BSD-family OSes implement a utimes() system call, which supports a higher resolution than utime().
  • The POSIX standard currently specifies a futimens() function.

Implement a helper function elftc_set_timestamp() that abstracts away these differences.

Change History

Changed 2 years ago by jkoshy

  • status changed from new to closed
  • resolution set to fixed
  • This function has been implemented in changeset [2333].
  • A manual page has been added in changeset [2335].
Note: See TracTickets for help on using tickets.