mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-04 16:40:56 +02:00
Several bug fixes and silencing requests.
This commit is contained in:
+1
-1
@@ -30301,7 +30301,7 @@ int Abc_CommandAbc9Fraig( Abc_Frame_t * pAbc, int argc, char ** argv )
|
||||
Abc_Print( -1, "Abc_CommandAbc9Fraig(): There is no AIG.\n" );
|
||||
return 1;
|
||||
}
|
||||
pTemp = Cec_ManSatSweeping( pAbc->pGia, pPars );
|
||||
pTemp = Cec_ManSatSweeping( pAbc->pGia, pPars, 0 );
|
||||
Abc_FrameUpdateGia( pAbc, pTemp );
|
||||
return 0;
|
||||
|
||||
|
||||
@@ -706,12 +706,12 @@ static inline char * Smt_PrsLoadFile( char * pFileName, char ** ppLimit )
|
||||
// move the file current reading position to the beginning
|
||||
rewind( pFile );
|
||||
// load the contents of the file into memory
|
||||
pBuffer = ABC_ALLOC( char, nFileSize + 3 );
|
||||
pBuffer = ABC_ALLOC( char, nFileSize + 16 );
|
||||
pBuffer[0] = '\n';
|
||||
RetValue = fread( pBuffer+1, nFileSize, 1, pFile );
|
||||
// terminate the string with '\0'
|
||||
pBuffer[nFileSize + 0] = '\n';
|
||||
pBuffer[nFileSize + 1] = '\0';
|
||||
pBuffer[nFileSize + 1] = '\n';
|
||||
pBuffer[nFileSize + 2] = '\0';
|
||||
*ppLimit = pBuffer + nFileSize + 2;
|
||||
return pBuffer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user