|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80035 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-14 11:24:29
Author: jurko
Date: 2012-08-14 11:24:27 EDT (Tue, 14 Aug 2012)
New Revision: 80035
URL: http://svn.boost.org/trac/boost/changeset/80035
Log:
Boost Jam cleanup - renamed the path_key__register_long_name() function to path_register_key() and improved related comments, minor stylistic changes.
Text files modified:
trunk/tools/build/v2/engine/filent.c | 13 +++++++------
trunk/tools/build/v2/engine/pathsys.h | 7 ++++---
trunk/tools/build/v2/engine/pathunix.c | 4 ++--
3 files changed, 13 insertions(+), 11 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-08-14 11:24:27 EDT (Tue, 14 Aug 2012)
@@ -4,11 +4,12 @@
* This file is part of Jam - see jam.c for Copyright information.
*/
-/* This file is ALSO:
- * Copyright 2001-2004 David Abrahams.
- * Copyright 2005 Rene Rivera.
- * Distributed under the Boost Software License, Version 1.0.
- * (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+/* This file is ALSO:
+ * Copyright 2001-2004 David Abrahams.
+ * Copyright 2005 Rene Rivera.
+ * Distributed under the Boost Software License, Version 1.0.
+ * (See accompanying file LICENSE_1_0.txt or copy at
+ * http://www.boost.org/LICENSE_1_0.txt)
*/
/*
@@ -111,7 +112,7 @@
path_build( &f, pathname );
pathname_obj = object_new( pathname->value );
- path_key__register_long_path( pathname_obj );
+ path_register_key( pathname_obj );
files = list_push_back( files, pathname_obj );
{
file_info_t * const ff = file_info( pathname_obj );
Modified: trunk/tools/build/v2/engine/pathsys.h
==============================================================================
--- trunk/tools/build/v2/engine/pathsys.h (original)
+++ trunk/tools/build/v2/engine/pathsys.h 2012-08-14 11:24:27 EDT (Tue, 14 Aug 2012)
@@ -58,10 +58,11 @@
OBJECT * path_as_key( OBJECT * path );
/* Called as an optimization when we know we have a path that is already in its
- * long/key form. Avoids the need for some subsequent path_as_key() call to do a
- * potentially expensive short-->long path conversion.
+ * canonical/long/key form. Avoids the need for some subsequent path_as_key()
+ * call to do a potentially expensive path conversion requiring access to the
+ * actual underlying file system.
*/
-void path_key__register_long_path( OBJECT * long_path );
+void path_register_key( OBJECT * long_path );
#ifdef USE_PATHUNIX
/* Returns a static pointer to the system dependent path to the temporary
Modified: trunk/tools/build/v2/engine/pathunix.c
==============================================================================
--- trunk/tools/build/v2/engine/pathunix.c (original)
+++ trunk/tools/build/v2/engine/pathunix.c 2012-08-14 11:24:27 EDT (Tue, 14 Aug 2012)
@@ -472,7 +472,7 @@
}
-void path_key__register_long_path( OBJECT * long_path )
+void path_register_key( OBJECT * long_path )
{
path_key( long_path, 1 );
}
@@ -504,7 +504,7 @@
#else /* NT */
-void path_key__register_long_path( OBJECT * path )
+void path_register_key( OBJECT * path )
{
}
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