merge creation date & time from old dev branch

This commit is contained in:
KJD 2014-07-03 20:01:57 -04:00
parent 3535e9d243
commit 8be4c2974a
1 changed files with 3 additions and 2 deletions

View File

@ -103,8 +103,9 @@ STATIC void init_direntry(struct dirent *dentry, unsigned attrib,
#endif
dentry->dir_start = (UWORD)cluster;
dentry->dir_attrib = (UBYTE)attrib;
dentry->dir_time = dos_gettime();
dentry->dir_date = dos_getdate();
/* set create and last modified time & date */
dentry->dir_crtime = dentry->dir_time = dos_gettime();
dentry->dir_crdate = dentry->dir_date = dos_getdate();
}
/************************************************************************/