CWS-TOOLING: integrate CWS mingwport18

2009-03-27 12:51:41 +0100 tono  r270150 : CWS-TOOLING: rebase CWS mingwport18 to trunk@270033 (milestone: DEV300:m45)
2009-03-26 22:41:14 +0100 tono  r270120 : files with invalid names removed
2009-03-26 22:40:11 +0100 tono  r270119 : files with invalid names removed
2009-03-26 22:39:04 +0100 tono  r270118 : files with invalid names removed
2009-03-26 22:36:00 +0100 tono  r270117 : files with invalid names removed
2009-03-26 22:33:42 +0100 tono  r270116 : files with invalid names removed
2009-03-26 22:32:14 +0100 tono  r270115 : files with invalid names removed
2009-03-26 22:24:41 +0100 tono  r270114 : files with invalid names removed
2009-03-26 22:16:41 +0100 tono  r270113 : files with invalid names removed
2009-03-26 22:15:52 +0100 tono  r270112 : files with invalid names removed
2009-03-26 22:14:44 +0100 tono  r270111 : files with invalid names removed
2009-03-26 22:12:28 +0100 tono  r270110 : files with invalid names removed
2009-03-26 21:46:31 +0100 tono  r270109 : files with invalid names removed
2009-03-22 12:41:21 +0100 tono  r269847 : i#100463: MinGW port header patch enhancement
2009-03-22 12:39:39 +0100 tono  r269846 : i#100462: MinGW port update for python
2009-03-22 12:37:52 +0100 tono  r269845 : i#100461: MinGW port fix for store/workben
2009-03-22 12:36:10 +0100 tono  r269844 : i#100460: MinGW port fix for sal when debug=true
2009-03-21 01:06:50 +0100 tono  r269833 : i#100210: MinGW port fix for hunspell-1.2.8
2009-03-21 01:04:08 +0100 tono  r269832 : i#100209: MinGW port fix for sspi
This commit is contained in:
Release Engineers
2009-04-10 09:52:21 +00:00
parent 93350f1c4e
commit 12f5facfa7
2 changed files with 11 additions and 3 deletions

View File

@@ -1460,7 +1460,7 @@ namespace /* private */
void parse_UNC_path(const sal_Unicode* path, UNCComponents* puncc)
{
OSL_PRECOND(is_UNC_path(path), "Precondition violated: No UNC path");
OSL_PRECOND(!wcschr(path, SLASH), "Path must not contain slashes");
OSL_PRECOND(rtl_ustr_indexOfChar(path, SLASH) != -1, "Path must not contain slashes");
const sal_Unicode* pend = path + rtl_ustr_getLength(path);
const sal_Unicode* ppos = path + 2;
@@ -1580,7 +1580,7 @@ namespace /* private */
e.g. 'c:\' or '\\Share' have no more parents */
int path_make_parent(sal_Unicode* path)
{
OSL_PRECOND(!wcschr(path, SLASH), "Path must not contain slashes");
OSL_PRECOND(rtl_ustr_indexOfChar(path, SLASH) != -1, "Path must not contain slashes");
OSL_PRECOND(has_path_parent(path), "Path must have a parent");
sal_Unicode* pos_last_backslash = path + rtl_ustr_lastIndexOfChar(path, BACKSLASH);
@@ -1833,7 +1833,7 @@ namespace /* private */
oslDirectoryCreationCallbackFunc aDirectoryCreationCallbackFunc,
void* pData)
{
OSL_PRECOND(wcslen(dir_path) > 0 && (wcsrchr(dir_path, BACKSLASH) != (dir_path + (wcslen(dir_path) - 1))), \
OSL_PRECOND(rtl_ustr_getLength(dir_path) > 0 && (rtl_ustr_lastIndexOfChar(dir_path, BACKSLASH) != rtl_ustr_getLength(dir_path) - 1), \
"Path must not end with a backslash");
DWORD w32_error = create_dir_with_callback(

View File

@@ -46,14 +46,22 @@ NO_DEFAULT_STL=TRUE
.IF "$(GUI)" == "UNX"
STORELIB= -lstore
.ELSE # unx
.IF "$(GUI)$(COM)"=="WNTGCC"
STORELIB= -lstore$(UDK_MAJOR)
.ELSE
STORELIB= $(LB)$/istore.lib
.ENDIF
.ENDIF # unx
.ENDIF # storelib
.IF "$(GUI)" == "UNX"
STOREDBGLIB= $(LB)$/libstoredbg.a
.ELSE # unx
.IF "$(GUI)$(COM)"=="WNTGCC"
STOREDBGLIB= $(LB)$/libstoredbg.a
.ELSE
STOREDBGLIB= $(LB)$/storedbg.lib
.ENDIF
.ENDIF # unx
CFLAGS+= -I..$/source