|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r79450 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-12 09:36:32
Author: jurko
Date: 2012-07-12 09:36:31 EDT (Thu, 12 Jul 2012)
New Revision: 79450
URL: http://svn.boost.org/trac/boost/changeset/79450
Log:
Boost Jam cleanup - minor stylistic changes.
Text files modified:
trunk/tools/build/v2/engine/fileunix.c | 2 +-
trunk/tools/build/v2/engine/make.h | 2 +-
trunk/tools/build/v2/engine/make1.c | 5 +++--
3 files changed, 5 insertions(+), 4 deletions(-)
Modified: trunk/tools/build/v2/engine/fileunix.c
==============================================================================
--- trunk/tools/build/v2/engine/fileunix.c (original)
+++ trunk/tools/build/v2/engine/fileunix.c 2012-07-12 09:36:31 EDT (Thu, 12 Jul 2012)
@@ -85,7 +85,7 @@
#ifndef HAVE_AR
# ifdef OS_AIX
-/* Define those for AIX to get the definitions for both small and big archive
+/* Define these for AIX to get the definitions for both small and big archive
* file format variants.
*/
# define __AR_SMALL__
Modified: trunk/tools/build/v2/engine/make.h
==============================================================================
--- trunk/tools/build/v2/engine/make.h (original)
+++ trunk/tools/build/v2/engine/make.h 2012-07-12 09:36:31 EDT (Thu, 12 Jul 2012)
@@ -35,7 +35,7 @@
/* Specifies that the target should be updated. */
void mark_target_for_updating( OBJECT * target );
-/* Returns targets previously passed to 'mark_target_for_updating'. */
+/* Returns targets previously passed to mark_target_for_updating(). */
LIST * targets_to_update();
/* Clears/unmarks all targets currently marked for update. */
Modified: trunk/tools/build/v2/engine/make1.c
==============================================================================
--- trunk/tools/build/v2/engine/make1.c (original)
+++ trunk/tools/build/v2/engine/make1.c 2012-07-12 09:36:31 EDT (Thu, 12 Jul 2012)
@@ -820,6 +820,8 @@
char const * rule_name = 0;
char const * target_name = 0;
+ assert( cmd );
+
--cmdsrunning;
/* Calculate the target's status from the cmd execution result. */
@@ -843,7 +845,6 @@
t->status = EXEC_CMD_OK;
}
- assert( cmd );
if ( DEBUG_MAKEQ ||
( DEBUG_MAKE && !( cmd->rule->actions->flags & RULE_QUIETLY ) ) )
{
@@ -1192,7 +1193,7 @@
LISTITER const vars_end = list_end( vars );
for ( ; vars_iter != vars_end; vars_iter = list_next( vars_iter ) )
{
- LIST * l = var_get( module, list_item( vars_iter ) );
+ LIST * const l = var_get( module, list_item( vars_iter ) );
LIST * nl = L0;
LISTITER iter = list_begin( l );
LISTITER const end = list_end( l );
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