mirror of https://github.com/FDOS/kernel.git
fix MKDIR timestamp bug introduced in previous revision
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1048 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
6aad41e7d5
commit
d87c8972fb
|
@ -111,8 +111,8 @@ STATIC void init_direntry(struct dirent *dentry, unsigned attrib,
|
|||
#endif
|
||||
dentry->dir_start = (UWORD)cluster;
|
||||
dentry->dir_attrib = (UBYTE)attrib;
|
||||
dentry->dir_crtime = dos_gettime();
|
||||
dentry->dir_crdate = dos_getdate();
|
||||
dentry->dir_crtime = dentry->dir_time = dos_gettime();
|
||||
dentry->dir_crdate = dentry->dir_date = dos_getdate();
|
||||
}
|
||||
|
||||
/************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue