aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ytree
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-03-28 22:29:41 +0800
committersteve <steve@FreeBSD.org>1998-03-28 22:29:41 +0800
commit268d9b15090d8c57b49316a925a4a54573d5dc13 (patch)
tree58adb4aa7e629342776aaf330d2e0735537f955a /misc/ytree
parente6ee7ccbae8df77b7562521c8feec4f29ec63615 (diff)
downloadfreebsd-ports-gnome-268d9b15090d8c57b49316a925a4a54573d5dc13.tar.gz
freebsd-ports-gnome-268d9b15090d8c57b49316a925a4a54573d5dc13.tar.zst
freebsd-ports-gnome-268d9b15090d8c57b49316a925a4a54573d5dc13.zip
Fix the modification timestamp in the extended file display.
PR: 6079 Submitted by: Greg Lehey <grog@lemis.com>
Diffstat (limited to 'misc/ytree')
-rw-r--r--misc/ytree/files/patch-af11
-rw-r--r--misc/ytree/files/patch-ag11
2 files changed, 22 insertions, 0 deletions
diff --git a/misc/ytree/files/patch-af b/misc/ytree/files/patch-af
new file mode 100644
index 000000000000..562737130802
--- /dev/null
+++ b/misc/ytree/files/patch-af
@@ -0,0 +1,11 @@
+--- dirwin.c.orig Sat Mar 21 22:40:47 1998
++++ dirwin.c Sat Mar 21 22:41:17 1998
+@@ -163,7 +163,7 @@
+ ERROR_MSG("malloc() Failed*Abort");
+ exit(1);
+ }
+- (void) strcpy( format, "%10s %3d %7d %12s");
++ (void) strcpy( format, "%10s %3d %7qd %12s");
+ (void) sprintf( line_buffer, format, attributes,
+ de_ptr->stat_struct.st_nlink,
+ de_ptr->stat_struct.st_size,
diff --git a/misc/ytree/files/patch-ag b/misc/ytree/files/patch-ag
new file mode 100644
index 000000000000..56157e86bee1
--- /dev/null
+++ b/misc/ytree/files/patch-ag
@@ -0,0 +1,11 @@
+--- filewin.c.orig Sat Mar 21 22:42:17 1998
++++ filewin.c Sat Mar 21 22:53:03 1998
+@@ -535,7 +535,7 @@
+ }
+ else
+ {
+- (void) sprintf( format, "%%c %%%c%ds %%10s %%3d %%7d %%12s",
++ (void) sprintf( format, "%%c %%%c%ds %%10s %%3d %%7qd %%12s",
+ justify,
+ max_filename_len
+ );