summaryrefslogtreecommitdiffstats
path: root/src/map/amap/amapLiberty.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-09-20 12:41:59 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-09-20 12:41:59 -0700
commitbc44087bacba80b775ac7956ed9032c517308e03 (patch)
tree31c8508d8bf2c2da05120dd90a607a63faf3fc05 /src/map/amap/amapLiberty.c
parentfdfb083c5c4f789c74aa573144b0aec45d1aaa76 (diff)
downloadabc-bc44087bacba80b775ac7956ed9032c517308e03.tar.gz
abc-bc44087bacba80b775ac7956ed9032c517308e03.tar.bz2
abc-bc44087bacba80b775ac7956ed9032c517308e03.zip
Modified 'read' to read all types of libraries (genlib, liberty, scl).
Diffstat (limited to 'src/map/amap/amapLiberty.c')
-rw-r--r--src/map/amap/amapLiberty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/amap/amapLiberty.c b/src/map/amap/amapLiberty.c
index b8232024..20624882 100644
--- a/src/map/amap/amapLiberty.c
+++ b/src/map/amap/amapLiberty.c
@@ -914,7 +914,7 @@ void Amap_LibertyStop( Amap_Tree_t * p )
SeeAlso []
***********************************************************************/
-int Amap_LibertyParse( char * pFileName, char * pFileGenlib, int fVerbose )
+int Amap_LibertyParse( char * pFileName, int fVerbose )
{
Amap_Tree_t * p;
char * pPos;
@@ -930,7 +930,7 @@ int Amap_LibertyParse( char * pFileName, char * pFileGenlib, int fVerbose )
if ( fVerbose )
printf( "Parsing finished successfully.\n" );
// Amap_LibertyPrintLiberty( p, "temp_.lib" );
- Amap_LibertyPrintGenlib( p, "temp.genlib", fVerbose );
+ Amap_LibertyPrintGenlib( p, Extra_FileNameGenericAppend(pFileName, ".genlib"), fVerbose );
RetValue = 1;
}
else