Fix the modification timestamp in the extended file display.
PR: 6079 Submitted by: Greg Lehey <grog@lemis.com>
This commit is contained in:
parent
a54e8109ec
commit
9e91129f34
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10348
11
misc/ytree/files/patch-af
Normal file
11
misc/ytree/files/patch-af
Normal 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
11
misc/ytree/files/patch-ag
Normal 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
|
||||
);
|
Loading…
Reference in New Issue
Block a user