summaryrefslogtreecommitdiffstats
path: root/src/base/io/io.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2008-07-05 08:01:00 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2008-07-05 08:01:00 -0700
commit7b734f23fc23694ccffdb7e3cd31335ffe6cb272 (patch)
treed6df566bac26ffb6af1eb01d215d6c4f9785dfa9 /src/base/io/io.c
parent17ab7c7135befeb4e1d33385496959a16bd55054 (diff)
downloadabc-7b734f23fc23694ccffdb7e3cd31335ffe6cb272.tar.gz
abc-7b734f23fc23694ccffdb7e3cd31335ffe6cb272.tar.bz2
abc-7b734f23fc23694ccffdb7e3cd31335ffe6cb272.zip
Version abc80705
Diffstat (limited to 'src/base/io/io.c')
-rw-r--r--src/base/io/io.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/base/io/io.c b/src/base/io/io.c
index 1695942e..371adfc9 100644
--- a/src/base/io/io.c
+++ b/src/base/io/io.c
@@ -144,7 +144,7 @@ void Io_End()
int IoCommandRead( Abc_Frame_t * pAbc, int argc, char ** argv )
{
Abc_Ntk_t * pNtk;
- char * pFileName;
+ char * pFileName, * pTemp;
int fCheck;
int c;
@@ -171,6 +171,10 @@ int IoCommandRead( Abc_Frame_t * pAbc, int argc, char ** argv )
goto usage;
// get the input file name
pFileName = argv[globalUtilOptind];
+ // fix the wrong symbol
+ for ( pTemp = pFileName; *pTemp; pTemp++ )
+ if ( *pTemp == '>' )
+ *pTemp = '\\';
// read the file using the corresponding file reader
pNtk = Io_Read( pFileName, Io_ReadFileType(pFileName), fCheck );
if ( pNtk == NULL )