Changes by: flatcap
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28162
Modified Files:
ntfsls.c
Log Message:
display year in long listing
Index: ntfsls.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsls.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -r1.26 -r1.27
--- ntfsls.c 4 Aug 2005 09:59:45 -0000 1.26
+++ ntfsls.c 11 Aug 2005 13:53:08 -0000 1.27
@@ -551,7 +551,8 @@ static int list_dir_entry(ntfsls_dirent
ntfs_time = ntfs2utc(sle64_to_cpu(
file_name_attr->last_data_change_time));
strcpy(t_buf, ctime(&ntfs_time));
- t_buf[16] = '\0';
+ memmove(t_buf+16, t_buf+19, 5);
+ t_buf[21] = '\0';
if (dt_type != NTFS_DT_DIR) {
if (!ntfs_attr_lookup(AT_DATA, AT_UNNAMED, 0, 0, 0,
|