diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2009-03-24 12:17:31 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2009-03-24 12:17:31 +0000 |
commit | 16024b5db002424bc0685c7f093fb6e58df5c12a (patch) | |
tree | d087ae1cd2e0425750f0ddb94ca880b8272c26dd | |
parent | 877e0b86687eb0dd3fe9ddd9ef290c6909f8da30 (diff) |
CWS-TOOLING: integrate CWS cygwin03
2009-03-19 13:36:29 +0100 hjs r269742 : #i100180# - fix one remaining problem with zip dependencies
2009-03-18 17:05:51 +0100 kz r269691 : #i100180# improvements for setsolar on cygwin
2009-03-18 16:54:08 +0100 kz r269690 : #i100180# improvements for setsolar on cygwin
2009-03-13 15:29:53 +0100 kz r269486 : #i100180# improvements for setsolar on cygwin
2009-03-13 15:28:56 +0100 kz r269485 : #i100180# improvements for setsolar on cygwin
2009-03-13 15:28:29 +0100 kz r269484 : #i100180# improvements for setsolar on cygwin
-rw-r--r-- | tools/bootstrp/rscdep.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/bootstrp/rscdep.cxx b/tools/bootstrp/rscdep.cxx index 7c394dcdaee8..d4411058a6fb 100644 --- a/tools/bootstrp/rscdep.cxx +++ b/tools/bootstrp/rscdep.cxx @@ -96,7 +96,9 @@ main( int argc, char **argv ) String aSrsBaseName; BOOL bSource = FALSE; ByteString aRespArg; - String aDelim = String(DirEntry::GetAccessDelimiter()); +// who needs anything but '/' ? +// String aDelim = String(DirEntry::GetAccessDelimiter()); + String aDelim = '/'; RscHrcDep *pDep = new RscHrcDep; @@ -256,6 +258,7 @@ main( int argc, char **argv ) printf("further arguments : "); #endif aString = ByteString( pSrsFileName ); + aString.SearchAndReplaceAll('\\', ByteString( aDelim, RTL_TEXTENCODING_ASCII_US )); aString += ByteString(" : " ); while ( optind < argc ) @@ -289,12 +292,7 @@ main( int argc, char **argv ) for ( ULONG j=0; j<nCount; j++ ) { ByteString *pStr = pLst->GetObject(j); -#ifdef UNX pStr->SearchAndReplaceAll('\\', ByteString( aDelim, RTL_TEXTENCODING_ASCII_US )); -#endif -#ifdef WNT - pStr->SearchAndReplaceAll('/', ByteString( aDelim, RTL_TEXTENCODING_ASCII_US )); -#endif if ( j != (nCount-1) ) *pStr += ByteString( "\\" ); aOutStream.WriteLine( *pStr ); |