2009-10-13 16:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/src/compiler/hbmain.c
    * do not set TAB after last dependencies list generated by -sm
      switch
This commit is contained in:
Przemyslaw Czerpak
2009-10-13 14:47:49 +00:00
parent 4522500293
commit 1007cfa311
2 changed files with 14 additions and 5 deletions

View File

@@ -17,6 +17,11 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-10-13 16:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/hbmain.c
* do not set TAB after last dependencies list generated by -sm
switch
2009-10-13 15:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
* harbour/include/hbcompdf.h

View File

@@ -3920,10 +3920,15 @@ static void hb_compGenIncluded( HB_COMP_DECL )
ulLen += ( ULONG ) strlen( pIncFile->szFileName ) + 1;
pIncFile = pIncFile->pNext;
}
u = HB_COMP_PARAM->ulOutBufSize;
if( u != 0 )
++ulLen;
HB_COMP_PARAM->pOutBuf = ( BYTE * ) hb_xrealloc(
HB_COMP_PARAM->pOutBuf, HB_COMP_PARAM->ulOutBufSize + ulLen + 1 );
buffer = HB_COMP_PARAM->pOutBuf + HB_COMP_PARAM->ulOutBufSize;
HB_COMP_PARAM->ulOutBufSize += ulLen;
HB_COMP_PARAM->pOutBuf, u + ulLen );
buffer = HB_COMP_PARAM->pOutBuf + u;
if( u != 0 )
*buffer++ = pIncFile ? ' ' : '\t';
HB_COMP_PARAM->ulOutBufSize += ulLen - 1;
pIncFile = HB_COMP_PARAM->incfiles;
while( pIncFile )
{
@@ -3931,9 +3936,8 @@ static void hb_compGenIncluded( HB_COMP_DECL )
memcpy( buffer, pIncFile->szFileName, u );
buffer +=u;
pIncFile = pIncFile->pNext;
*buffer++ = pIncFile ? ' ' : '\t';
*buffer++ = pIncFile ? ' ' : '\0';
}
*buffer = '\0';
}
else
{