2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Boost Jam cleanup - removed internal file size tracking. The data was being collected but never actually used and did not support file sizes larger than can fit in a 32 bit integer.

[SVN r79677]
This commit is contained in:
Jurko Gospodnetić
2012-07-22 16:52:53 +00:00
parent 6a8c050f7f
commit 5e5d014f29
3 changed files with 0 additions and 4 deletions

View File

@@ -109,7 +109,6 @@ int file_collect_dir_content_( file_info_t * const d )
file_info_t * const ff = file_info( pathname_obj );
ff->is_dir = finfo.attrib & _A_SUBDIR ? 1 : 0;
ff->is_file = !ff->is_dir;
ff->size = finfo.size;
timestamp_init( &ff->time, finfo.time_write, 0 );
}
}

View File

@@ -138,7 +138,6 @@ file_info_t * file_info( OBJECT * const path )
finfo->name = path_key;
finfo->is_file = 0;
finfo->is_dir = 0;
finfo->size = 0;
timestamp_clear( &finfo->time );
finfo->files = L0;
}
@@ -230,7 +229,6 @@ int file_query_posix_( file_info_t * const info )
info->is_file = statbuf.st_mode & S_IFREG ? 1 : 0;
info->is_dir = statbuf.st_mode & S_IFDIR ? 1 : 0;
info->size = statbuf.st_size;
timestamp_init( &info->time, statbuf.st_mtime, 0 );
return 0;
}

View File

@@ -29,7 +29,6 @@ typedef struct file_info_t
OBJECT * name;
short is_file;
short is_dir;
unsigned long size;
timestamp time;
LIST * files;
} file_info_t;