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:
Luchezar Georgiev 2004-09-19 17:01:16 +00:00
parent 6aad41e7d5
commit d87c8972fb
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
/************************************************************************/