|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r79674 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-22 12:06:02
Author: jurko
Date: 2012-07-22 12:05:58 EDT (Sun, 22 Jul 2012)
New Revision: 79674
URL: http://svn.boost.org/trac/boost/changeset/79674
Log:
Boost Jam cleanup - removed defective header parsing code seemingly intended for stripping trailing newline characters from read lines. This code has never done anything since it was originally added so there seems no reason to 'fix' it to do what it 'seems to have been intended to do'.
Text files modified:
trunk/tools/build/v2/engine/headers.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
Modified: trunk/tools/build/v2/engine/headers.c
==============================================================================
--- trunk/tools/build/v2/engine/headers.c (original)
+++ trunk/tools/build/v2/engine/headers.c 2012-07-22 12:05:58 EDT (Sun, 22 Jul 2012)
@@ -147,16 +147,6 @@
while ( fgets( buf, sizeof( buf ), f ) )
{
- int size = strlen( buf );
- /* Remove trailing \r and \n, if any. */
- while ( ( size > 0 ) &&
- ( buf[ size - 1 ] == '\n' ) &&
- ( buf[ size - 1 ] == '\r' ) )
- {
- buf[ size - 1 ] = '\0';
- --size;
- }
-
for ( i = 0; i < rec; ++i )
if ( regexec( re[ i ], buf ) && re[ i ]->startp[ 1 ] )
{
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