mirror of https://github.com/FDOS/kernel.git
merge creation date & time from old dev branch
This commit is contained in:
parent
3535e9d243
commit
8be4c2974a
|
@ -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();
|
||||
}
|
||||
|
||||
/************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue