Revision: 7108
http://playerstage.svn.sourceforge.net/playerstage/?rev=7108&view=rev
Author: gerkey
Date: 2008-10-17 22:19:44 +0000 (Fri, 17 Oct 2008)
Log Message:
-----------
Added call to list.sort() in interface generator, to ensure that
player_interfaces.h is generated in order with respect to interface numbers.
Modified Paths:
--------------
code/player/trunk/libplayercore/playerinterfacegen.py
Modified: code/player/trunk/libplayercore/playerinterfacegen.py
===================================================================
--- code/player/trunk/libplayercore/playerinterfacegen.py 2008-10-17
17:57:09 UTC (rev 7107)
+++ code/player/trunk/libplayercore/playerinterfacegen.py 2008-10-17
22:19:44 UTC (rev 7108)
@@ -201,7 +201,12 @@
process_for_utils(targetfile)
else:
if os.path.isdir(targetfile):
- for file in glob.glob(os.path.join(targetfile ,"*.def")):
+ files = glob.glob(os.path.join(targetfile ,"*.def"))
+ # It is important that we sort this file list, to ensure that the
+ # structure definitions are output in increasing numerical order, to
+ # support the use of earlier messages structures in later ones.
+ files.sort()
+ for file in files:
if not os.path.isdir(file):
processfile(mode, file, plugin)
else:
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit