Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79585 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-18 10:27:23


Author: jurko
Date: 2012-07-18 10:27:22 EDT (Wed, 18 Jul 2012)
New Revision: 79585
URL: http://svn.boost.org/trac/boost/changeset/79585

Log:
Boost Build build bug corrected when compiling using old Borland compilers. This has been in for a long time and has been noticed only as part of a quick code review. It could be there is no need to support this 'old Borland compilers' code branch.
Text files modified:
   trunk/tools/build/v2/engine/filent.c | 5 +++--
   1 files changed, 3 insertions(+), 2 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-18 10:27:22 EDT (Wed, 18 Jul 2012)
@@ -105,13 +105,14 @@
             path_build( &f, pathname );
 
             {
- file_info_t * const ff = file_info( pathname->value );
+ file_info_t * const ff = file_info( object_new( pathname->value
+ ) );
                 ff->is_dir = finfo.ff_attrib & FA_DIREC ? 1 : 0;
                 ff->is_file = !ff->is_dir;
                 ff->size = finfo.ff_fsize;
                 timestamp_init( &ff->time, ( finfo.ff_ftime << 16 ) |
                     finfo.ff_ftime, 0 );
- files = list_push_back( files, object_new( pathname->value ) );
+ files = list_push_back( files, object_copy( ff->name ) );
             }
         }
         while ( !findnext( &finfo ) );


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