Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79618 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-20 06:57:32


Author: jurko
Date: 2012-07-20 06:57:31 EDT (Fri, 20 Jul 2012)
New Revision: 79618
URL: http://svn.boost.org/trac/boost/changeset/79618

Log:
Boost Jam code cleanup - removed an old, untested and up to recently definitely non-compiling 'old Borland compiler' code branch in the filent.c module. The compilers in question themselves are Borlands free compiler tools predating the more modern and more standard compliant free 'Visual Studio Express' toolchain so there should be no need for anyone to depend on them any more.
Text files modified:
   trunk/tools/build/v2/engine/filent.c | 36 ------------------------------------
   1 files changed, 0 insertions(+), 36 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-20 06:57:31 EDT (Fri, 20 Jul 2012)
@@ -33,10 +33,6 @@
 #include "strings.h"
 
 #ifdef __BORLANDC__
-# if __BORLANDC__ < 0x550
-# include <dir.h>
-# include <dos.h>
-# endif
 # undef FILENAME /* cpp namespace collision */
 #endif
 
@@ -87,37 +83,6 @@
         string_append( pathspec, "*" );
     }
 
-#if defined(__BORLANDC__) && __BORLANDC__ < 0x550
- {
- struct ffblk finfo;
- if ( findfirst( pathspec->value, &finfo, FA_NORMAL | FA_DIREC ) )
- {
- string_free( pathspec );
- return -1;
- }
-
- string_new( pathname );
- do
- {
- f.f_base.ptr = finfo.ff_name;
- f.f_base.len = strlen( finfo.ff_name );
- string_truncate( pathname, 0 );
- path_build( &f, pathname );
-
- {
- 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_copy( ff->name ) );
- }
- }
- while ( !findnext( &finfo ) );
- }
-#else /* defined(__BORLANDC__) && __BORLANDC__ < 0x550 */
     {
         struct _finddata_t finfo;
         long const handle = _findfirst( pathspec->value, &finfo );
@@ -152,7 +117,6 @@
 
         _findclose( handle );
     }
-#endif /* defined(__BORLANDC__) && __BORLANDC__ < 0x550 */
 
     string_free( pathname );
     string_free( pathspec );


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