Author: hpoussin
Date: Sat May 17 04:40:19 2008
New Revision: 33548
URL: http://svn.reactos.org/svn/reactos?rev=33548&view=rev
Log:
IDL headers should be dependencies, not libraries
Modified:
trunk/tools/wineimport.cmd
Modified: trunk/tools/wineimport.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/wineimport.cmd?rev=33548&r1=…
==============================================================================
--- trunk/tools/wineimport.cmd [iso-8859-1] (original)
+++ trunk/tools/wineimport.cmd [iso-8859-1] Sat May 17 04:40:19 2008
@@ -190,7 +190,7 @@
FOR %%j IN (%WINE_IDL_GEN_I_SRCS%) DO (
SET WINE_SHORT_NAME=%%j
SET WINE_SHORT_NAME=!WINE_SHORT_NAME:~0,-4!
- ECHO ^<module name="%WINE_MODULE_NAME%_!WINE_SHORT_NAME!_header" type="idlheader" allowwarnings="true"^>
+ ECHO ^<module name="%WINE_MODULE_NAME%_!WINE_SHORT_NAME!_header" type="idlheader"^>
ECHO ^<file^>%%j^</file^>
ECHO ^</module^>
)
@@ -246,7 +246,7 @@
) ELSE IF "%WINE_VARTYPE%" == "4" (
SET WINE_SHORT_NAME=%%j
SET WINE_SHORT_NAME=!WINE_SHORT_NAME:~0,-4!
- SET WINE_LIBRARIES=%WINE_MODULE_NAME%_!WINE_SHORT_NAME!_header !WINE_LIBRARIES!
+ SET WINE_DEPENDENCIES=%WINE_MODULE_NAME%_!WINE_SHORT_NAME!_header !WINE_DEPENDENCIES!
SET WINE_IDL_GEN_I_SRCS=!WINE_IDL_GEN_I_SRCS! %%j
) ELSE IF "%WINE_VARTYPE%" == "5" (
SET WINE_SHORT_NAME=%%j
@@ -280,7 +280,7 @@
) ELSE IF "%1" == "CTESTS" (
SET WINE_VARTYPE=1
) ELSE IF "%1" == "IDL_H_SRCS" (
- SET WINE_VARTYPE=1
+ SET WINE_VARTYPE=4
SET WINE_HAS_IDL=1
) ELSE IF "%1" == "IDL_C_SRCS" (
SET WINE_VARTYPE=5
Author: cfinck
Date: Sat May 17 04:23:21 2008
New Revision: 33546
URL: http://svn.reactos.org/svn/reactos?rev=33546&view=rev
Log:
Revert the _T('x') to 'x' changes from my previous commit.
Although both methods work properly, _T('x') seems to be the more convenient method used throughout cmd.
Modified:
trunk/reactos/base/shell/cmd/internal.c
Modified: trunk/reactos/base/shell/cmd/internal.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/internal.c?…
==============================================================================
--- trunk/reactos/base/shell/cmd/internal.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/cmd/internal.c [iso-8859-1] Sat May 17 04:23:21 2008
@@ -626,18 +626,18 @@
/* check for options anywhere in command line */
for (i = 0; i < args; i++)
{
- if (*arg[i] == '/')
+ if (*arg[i] == _T('/'))
{
/*found a command, but check to make sure it has something after it*/
if (_tcslen (arg[i]) == 2)
{
ch = _totupper (arg[i][1]);
- if (ch == 'S')
+ if (ch == _T('S'))
{
RD_SUB = TRUE;
}
- else if (ch == 'Q')
+ else if (ch == _T('Q'))
{
RD_QUIET = TRUE;
}
@@ -650,7 +650,7 @@
}
}
- if (dir[0] == '\0')
+ if (dir[0] == _T('\0'))
{
/* No folder to remove */
ConErrResPuts(STRING_ERROR_REQ_PARAM_MISSING);
@@ -661,8 +661,8 @@
GetFullPathName(dir,MAX_PATH,szFullPath,NULL);
/* remove trailing \ if any, but ONLY if dir is not the root dir */
- if (_tcslen (szFullPath) >= 2 && szFullPath[_tcslen (szFullPath) - 1] == '\\')
- szFullPath[_tcslen(szFullPath) - 1] = '\0';
+ if (_tcslen (szFullPath) >= 2 && szFullPath[_tcslen (szFullPath) - 1] == _T('\\'))
+ szFullPath[_tcslen(szFullPath) - 1] = _T('\0');
if(RD_SUB)
{
@@ -702,7 +702,7 @@
FindClose (hFile);
}
/* reovme the \\* */
- szFullPath[_tcslen(szFullPath) - 2] = '\0';
+ szFullPath[_tcslen(szFullPath) - 2] = _T('\0');
}
if (!DeleteFolder(szFullPath))