Boost logo

Boost-Commit :

From: ghost_at_[hidden]
Date: 2008-05-21 08:00:06


Author: vladimir_prus
Date: 2008-05-21 08:00:06 EDT (Wed, 21 May 2008)
New Revision: 45603
URL: http://svn.boost.org/trac/boost/changeset/45603

Log:
When importing from Python into an module with empty string as name,
import into root module.

Text files modified:
   trunk/tools/jam/src/builtins.c | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/jam/src/builtins.c
==============================================================================
--- trunk/tools/jam/src/builtins.c (original)
+++ trunk/tools/jam/src/builtins.c 2008-05-21 08:00:06 EDT (Wed, 21 May 2008)
@@ -1737,7 +1737,7 @@
         return NULL;
     }
 
- m = bindmodule(module);
+ m = bindmodule(*module ? module : 0);
     r = bindrule(rule, m);
 
     /* Make pFunc owned */


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