From d87c8972fb20a4dbe4bfbb1bedd57d4e2669983a Mon Sep 17 00:00:00 2001 From: Luchezar Georgiev Date: Sun, 19 Sep 2004 17:01:16 +0000 Subject: [PATCH] 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 --- kernel/fatfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/fatfs.c b/kernel/fatfs.c index 75120fb..fd604d4 100644 --- a/kernel/fatfs.c +++ b/kernel/fatfs.c @@ -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(); } /************************************************************************/