Author: amunger
Date: Tue Sep 2 23:33:51 2008
New Revision: 35893
URL: http://svn.reactos.org/svn/reactos?rev=35893&view=rev
Log:
Pass the ImagePath buffer as the command line, not the application name. After the recent changes, the ImaagePath buffer contains a properly formatted command line.
This change allows you to start services with parameters listed in the ImagePath, like Abyss and MySQL.
Modified:
trunk/reactos/base/system/services/database.c
Modified: trunk/reactos/base/system/services/database.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/datab…
==============================================================================
--- trunk/reactos/base/system/services/database.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/database.c [iso-8859-1] Tue Sep 2 23:33:51 2008
@@ -896,8 +896,8 @@
StartupInfo.cbReserved2 = 0;
StartupInfo.lpReserved2 = 0;
- Result = CreateProcessW(ImagePath.Buffer,
- NULL,
+ Result = CreateProcessW(NULL,
+ ImagePath.Buffer,
NULL,
NULL,
FALSE,
Author: dreimer
Date: Tue Sep 2 23:31:51 2008
New Revision: 35892
URL: http://svn.reactos.org/svn/reactos?rev=35892&view=rev
Log:
Fix the PREFIX Vars once more.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/charch.cmd
trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/charch.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/cha…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/charch.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/charch.cmd [iso-8859-1] Tue Sep 2 23:31:51 2008
@@ -16,7 +16,7 @@
::
:: Parse the command line arguments.
:: ROS_ARCH: Set to x86, x64, ppc or arm.
-:: ROS_PREFIX: Default is mingw32. ppc could be mingw32-ppc, arm mingw32-arm, x64 mingw32-x86_64.
+:: ROS_PREFIX: Default is mingw32. ppc could be ppc-pc-mingw32, arm arm-pc-mingw32, x64 x86_64-pc-mingw32.
::
if "%1" == "" (
@@ -31,17 +31,17 @@
)
if /i "%_1%" == "arm" (
set ROS_ARCH=arm
- set ROS_PREFIX=mingw32-arm
+ set ROS_PREFIX=arm-pc-mingw32
goto :EOC
)
if /i "%_1%" == "ppc" (
set ROS_ARCH=ppc
- set ROS_PREFIX=mingw32-ppc
+ set ROS_PREFIX=ppc-pc-mingw32
goto :EOC
)
if /i "%_1%" == "amd64" (
set ROS_ARCH=amd64
- set ROS_PREFIX=mingw32-x86_64
+ set ROS_PREFIX=x86_64-pc-mingw32
goto :EOC
)
if not "%_1%" == "" (
Modified: trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/ros…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd [iso-8859-1] Tue Sep 2 23:31:51 2008
@@ -32,15 +32,15 @@
)
if .%_ROSBE_ARCH%. == .1. (
set ROS_ARCH=arm
- set ROS_PREFIX=mingw32-arm
+ set ROS_PREFIX=arm-pc-mingw32
)
if .%_ROSBE_ARCH%. == .2. (
set ROS_ARCH=ppc
- set ROS_PREFIX=mingw32-ppc
+ set ROS_PREFIX=ppc-pc-mingw32
)
if .%_ROSBE_ARCH%. == .3. (
set ROS_ARCH=amd64
- set ROS_PREFIX=mingw32-x86_64
+ set ROS_PREFIX=x86_64-pc-mingw32
)
if .%_ROSBE_ARCH%. == .. (
set ROS_ARCH=