Author: weiden
Date: Wed Jul 4 19:27:32 2007
New Revision: 27388
URL:
http://svn.reactos.org/svn/reactos?rev=27388&view=rev
Log:
Don't silently accept entrypoint=""
Modified:
trunk/reactos/tools/rbuild/module.cpp
Modified: trunk/reactos/tools/rbuild/module.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/module.cpp?re…
==============================================================================
--- trunk/reactos/tools/rbuild/module.cpp (original)
+++ trunk/reactos/tools/rbuild/module.cpp Wed Jul 4 19:27:32 2007
@@ -339,6 +339,14 @@
att = moduleNode.GetAttribute ( "entrypoint", false );
if ( att != NULL )
{
+ if ( att->value == "" )
+ {
+ throw InvalidAttributeValueException (
+ moduleNode.location,
+ "entrypoint",
+ att->value );
+ }
+
entrypoint = att->value;
isDefaultEntryPoint = false;
}