Displaying 2 results from an estimated 2 matches for "display_atime".
2004 Apr 10
0
patches for copying atimes
...19
diff -u -w -r1.19 tls.c
--- tls.c 9 Apr 2004 20:22:44 -0000 1.19
+++ tls.c 10 Apr 2004 23:28:36 -0000
@@ -39,6 +39,7 @@
#include "rsync.h"
+#include "popt.h"
#define PROGRAM "tls"
@@ -48,6 +49,7 @@
int list_only = 0;
int preserve_perms = 0;
+static int display_atime = 0;
static void failed (char const *what,
char const *where)
@@ -57,14 +59,30 @@
exit (1);
}
+static void storetime(char *dest,
+ time_t t)
+{
+ if (t) {
+ struct tm *mt = gmtime(&t);
+ sprintf(dest, "%04d-%02d-%02d %02d:%02d:%02d",
+ mt->...
2004 Apr 20
1
improved atime patch
...19
diff -u -w -r1.19 tls.c
--- tls.c 9 Apr 2004 20:22:44 -0000 1.19
+++ tls.c 20 Apr 2004 21:06:20 -0000
@@ -39,6 +39,7 @@
#include "rsync.h"
+#include "popt.h"
#define PROGRAM "tls"
@@ -48,6 +49,7 @@
int list_only = 0;
int preserve_perms = 0;
+static int display_atime = 0;
static void failed (char const *what,
char const *where)
@@ -57,14 +59,30 @@
exit (1);
}
+static void storetime(char *dest,
+ time_t t)
+{
+ if (t) {
+ struct tm *mt = gmtime(&t);
+ sprintf(dest, "%04d-%02d-%02d %02d:%02d:%02d",
+ mt->...