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
This commit is contained in:
Hans-Joachim Lankenau 2009-03-24 12:17:31 +00:00
parent 877e0b8668
commit 16024b5db0

View file

@ -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 );