diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-02 21:41:24 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-02 21:41:24 -0700 |
commit | 6c1c45b90f689a548c2c35b5d5913cee76e7cbca (patch) | |
tree | 3247213ce167d0dfe33b92d2559f6a8eb6c2ad46 /src/base/cmd/cmdUtils.c | |
parent | aa705a9af63b3c3859345311693eb50fbf751cb7 (diff) | |
download | abc-6c1c45b90f689a548c2c35b5d5913cee76e7cbca.tar.gz abc-6c1c45b90f689a548c2c35b5d5913cee76e7cbca.tar.bz2 abc-6c1c45b90f689a548c2c35b5d5913cee76e7cbca.zip |
Added command 'starter' to call ABC concurrently.
Diffstat (limited to 'src/base/cmd/cmdUtils.c')
-rw-r--r-- | src/base/cmd/cmdUtils.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/base/cmd/cmdUtils.c b/src/base/cmd/cmdUtils.c index e65e2cb7..7f2e9b08 100644 --- a/src/base/cmd/cmdUtils.c +++ b/src/base/cmd/cmdUtils.c @@ -452,14 +452,15 @@ FILE * CmdFileOpen( Abc_Frame_t * pAbc, char *sFileName, char *sMode, char **pFi if ((pFile = fopen(sRealName, sMode)) == NULL) { if (! silent) { - perror(sRealName); +// perror(sRealName); + Abc_Print( 1, "Cannot open file \"%s\".\n", sRealName ); } } else { // print the path/name of the resource file 'abc.rc' that is being loaded if ( !silent && strlen(sRealName) >= 6 && strcmp( sRealName + strlen(sRealName) - 6, "abc.rc" ) == 0 ) - printf( "Loading resource file \"%s\".\n", sRealName ); + Abc_Print( 1, "Loading resource file \"%s\".\n", sRealName ); } } if ( pFileNameReal ) |