summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch Sterin <baruchs@gmail.com>2015-11-10 12:17:21 -0800
committerBaruch Sterin <baruchs@gmail.com>2015-11-10 12:17:21 -0800
commite561eb0f7845b1cbe774b94ca3a163ac85e3a1d3 (patch)
treede4e4673e78d538351dbe3c783d999124064ea25
parent19e4604b1fd75ddba54ba2e8d16c136a12580217 (diff)
downloadabc-e561eb0f7845b1cbe774b94ca3a163ac85e3a1d3.tar.gz
abc-e561eb0f7845b1cbe774b94ca3a163ac85e3a1d3.tar.bz2
abc-e561eb0f7845b1cbe774b94ca3a163ac85e3a1d3.zip
load_plugin: remove a check that the binary exists when a plugin command runs - the registration was successful, so the binary should exist. The check was remove to allow the -p option for load_plugin to work.
-rw-r--r--src/base/cmd/cmdPlugin.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/base/cmd/cmdPlugin.c b/src/base/cmd/cmdPlugin.c
index 51378653..9a3902ff 100644
--- a/src/base/cmd/cmdPlugin.c
+++ b/src/base/cmd/cmdPlugin.c
@@ -458,12 +458,6 @@ int Cmd_CommandAbcPlugIn( Abc_Frame_t * pAbc, int argc, char ** argv )
// check if there is the binary
pFileNameBinary = Abc_GetBinaryName( pAbc, argc, argv );
- if ( (pFile = fopen( pFileNameBinary, "r" )) == NULL )
- {
- Abc_Print( -1, "Cannot run the binary \"%s\".\n\n", pFileNameBinary );
- return 1;
- }
- fclose( pFile );
// create temp file
fd = Util_SignalTmpFile( "__abctmp_", ".aig", &pFileIn );