--- fileunix.c 2007-08-13 16:48:57.000000000 -0600 +++ /sierra/Dev/kbelco/votd/Nbtools/boost/tools/jam/src/fileunix.c 2007-03-18 21:06:49.000000000 -0600 @@ -172,8 +172,6 @@ string_new( filename ); while( dirent = readdir( dd ) ) { - file_info_t * ff = 0; - # ifdef old_sinix /* Broken structure definition on sinix. */ f.f_base.ptr = dirent->d_name - 2; @@ -230,7 +228,12 @@ ff->is_file = statbuf.st_mode & S_IFREG ? 1 : 0; ff->is_dir = statbuf.st_mode & S_IFDIR ? 1 : 0; ff->size = statbuf.st_size; - ff->time = statbuf.st_mtime ? statbuf.st_mtime : 1; + if (ff->is_dir) { + ff->time = 1; + } + else { + ff->time = statbuf.st_mtime ? statbuf.st_mtime : 1; + } } return ff; }