Fixed the size of the allocated port structure.
Modified: trunk/reactos/ntoskrnl/ps/kill.c
_____
Modified: trunk/reactos/ntoskrnl/ps/kill.c
--- trunk/reactos/ntoskrnl/ps/kill.c 2006-01-02 16:43:54 UTC (rev
20529)
+++ trunk/reactos/ntoskrnl/ps/kill.c 2006-01-02 17:46:35 UTC (rev
20530)
@@ -754,7 +754,7 @@
/* Allocate the Port and make sure it suceeded */
if((TerminationPort = ExAllocatePoolWithTag(NonPagedPool,
-
sizeof(PTERMINATION_PORT),
+
sizeof(TERMINATION_PORT),
TAG('P', 's', 'T',
'=')))) {
/* Associate the Port */
Allow files other than C to be included in the projects
Patch by Brezenbak (IRC)
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
_____
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
--- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
2006-01-02 11:39:15 UTC (rev 20528)
+++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
2006-01-02 16:43:54 UTC (rev 20529)
@@ -116,10 +116,10 @@
// TODO FIXME - do we want the full path of the
file here?
string file = string(".") +
&files[i]->name[vcproj_path.size()];
- if ( !stricmp ( Right(file,2).c_str(), ".c" ) )
- source_files.push_back ( file );
if ( !stricmp ( Right(file,3).c_str(), ".rc" ) )
resource_files.push_back ( file );
+ else
+ source_files.push_back ( file );
}
const vector<Include*>& incs = data.includes;
for ( i = 0; i < incs.size(); i++ )