Boost logo

Boost-Commit :

From: ghost_at_[hidden]
Date: 2007-10-09 01:38:32


Author: vladimir_prus
Date: 2007-10-09 01:38:31 EDT (Tue, 09 Oct 2007)
New Revision: 39830
URL: http://svn.boost.org/trac/boost/changeset/39830

Log:
Make it work, for extra benefit ('=' vs '==' bug)
Text files modified:
   trunk/tools/jam/src/builtins.c | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/tools/jam/src/builtins.c
==============================================================================
--- trunk/tools/jam/src/builtins.c (original)
+++ trunk/tools/jam/src/builtins.c 2007-10-09 01:38:31 EDT (Tue, 09 Oct 2007)
@@ -1339,8 +1339,8 @@
        and we want this function to obtain canonic representation. */
     for (current = in->value, end = in->value + in->size;
          current < end; ++current)
- if (*current = '\\')
- * current = '/';
+ if (*current == '\\')
+ *current = '/';
 
     
     end = in->value + in->size - 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