Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79677 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-22 12:52:53


Author: jurko
Date: 2012-07-22 12:52:53 EDT (Sun, 22 Jul 2012)
New Revision: 79677
URL: http://svn.boost.org/trac/boost/changeset/79677

Log:
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.
Text files modified:
   trunk/tools/build/v2/engine/filent.c | 1 -
   trunk/tools/build/v2/engine/filesys.c | 2 --
   trunk/tools/build/v2/engine/filesys.h | 1 -
   3 files changed, 0 insertions(+), 4 deletions(-)

Modified: trunk/tools/build/v2/engine/filent.c
==============================================================================
--- trunk/tools/build/v2/engine/filent.c (original)
+++ trunk/tools/build/v2/engine/filent.c 2012-07-22 12:52:53 EDT (Sun, 22 Jul 2012)
@@ -109,7 +109,6 @@
                 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 );
             }
         }

Modified: trunk/tools/build/v2/engine/filesys.c
==============================================================================
--- trunk/tools/build/v2/engine/filesys.c (original)
+++ trunk/tools/build/v2/engine/filesys.c 2012-07-22 12:52:53 EDT (Sun, 22 Jul 2012)
@@ -138,7 +138,6 @@
         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 @@
 
     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;
 }

Modified: trunk/tools/build/v2/engine/filesys.h
==============================================================================
--- trunk/tools/build/v2/engine/filesys.h (original)
+++ trunk/tools/build/v2/engine/filesys.h 2012-07-22 12:52:53 EDT (Sun, 22 Jul 2012)
@@ -29,7 +29,6 @@
     OBJECT * name;
     short is_file;
     short is_dir;
- unsigned long size;
     timestamp time;
     LIST * files;
 } file_info_t;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk