alexcrichton / filetime

Accessing file timestamps in a platform-agnostic fashion in Rust
Apache License 2.0
122 stars 56 forks source link

Adding support for uclibc's funtimens in set_file_handle_times #49

Closed plauche closed 4 years ago

plauche commented 4 years ago

The uClibc library does not provide an implementation for futimes, but it does provide futimens. This PR fixes the implementation of set_file_handle_times for uClibc by substituting in futimens and also provides the required to_timespec function.

alexcrichton commented 4 years ago

Thanks! I think there's a CI failure though?

plauche commented 4 years ago

Should be all fixed up now!