Fixed directory creation date.

Typo found by Vadim A. Yagodkin.

svn path=/trunk/; revision=6686
This commit is contained in:
Eric Kohl 2003-11-18 17:40:46 +00:00
parent 1f5f11925a
commit 8fd7fe8abb

View file

@ -1,4 +1,4 @@
/* $Id: cdmake.c,v 1.7 2003/11/16 13:45:42 ekohl Exp $ */
/* $Id: cdmake.c,v 1.8 2003/11/18 17:40:46 ekohl Exp $ */
/* CD-ROM Maker
by Philip J. Erdelsky
pje@acm.org
@ -778,7 +778,7 @@ make_directory_records (PDIR_RECORD d)
if (strcmp(entry->d_name, DIRECTORY_TIMESTAMP) == 0)
{
convert_date_and_time(&d->date_and_time, &stbuf.st_size);
convert_date_and_time(&d->date_and_time, &stbuf.st_ctime);
}
else
{
@ -790,7 +790,7 @@ make_directory_records (PDIR_RECORD d)
}
}
}
closedir (dirp);
closedir(dirp);
}
else
{
@ -849,7 +849,7 @@ make_directory_records (PDIR_RECORD d)
*end_source = 0;
}
}
closedir (dirp);
closedir(dirp);
}
else
{
@ -919,7 +919,7 @@ make_directory_records (PDIR_RECORD d)
{
if (strcmp(entry->d_name, DIRECTORY_TIMESTAMP) == 0)
{
convert_date_and_time(&d->date_and_time, &stbuf.st_size);
convert_date_and_time(&d->date_and_time, &stbuf.st_ctime);
}
else
{