Fix the modification timestamp in the extended file display.

PR:		6079
Submitted by:	Greg Lehey <grog@lemis.com>
This commit is contained in:
Steve Price 1998-03-28 14:29:41 +00:00
parent a54e8109ec
commit 9e91129f34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10348
2 changed files with 22 additions and 0 deletions

11
misc/ytree/files/patch-af Normal file
View File

@ -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,

11
misc/ytree/files/patch-ag Normal file
View File

@ -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
);