diff options
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index e8e8bbfb502..149d80f19ec 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -2752,21 +2752,6 @@ emacs_perror (char const *message) | |||
| 2752 | errno = err; | 2752 | errno = err; |
| 2753 | } | 2753 | } |
| 2754 | 2754 | ||
| 2755 | /* Set the access and modification time stamps of FD (a.k.a. FILE) to be | ||
| 2756 | ATIME and MTIME, respectively. | ||
| 2757 | FD must be either negative -- in which case it is ignored -- | ||
| 2758 | or a file descriptor that is open on FILE. | ||
| 2759 | If FD is nonnegative, then FILE can be NULL. */ | ||
| 2760 | int | ||
| 2761 | set_file_times (int fd, const char *filename, | ||
| 2762 | struct timespec atime, struct timespec mtime) | ||
| 2763 | { | ||
| 2764 | struct timespec timespec[2]; | ||
| 2765 | timespec[0] = atime; | ||
| 2766 | timespec[1] = mtime; | ||
| 2767 | return fdutimens (fd, filename, timespec); | ||
| 2768 | } | ||
| 2769 | |||
| 2770 | /* Rename directory SRCFD's entry SRC to directory DSTFD's entry DST. | 2755 | /* Rename directory SRCFD's entry SRC to directory DSTFD's entry DST. |
| 2771 | This is like renameat except that it fails if DST already exists, | 2756 | This is like renameat except that it fails if DST already exists, |
| 2772 | or if this operation is not supported atomically. Return 0 if | 2757 | or if this operation is not supported atomically. Return 0 if |