From bc44087bacba80b775ac7956ed9032c517308e03 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 20 Sep 2012 12:41:59 -0700 Subject: Modified 'read' to read all types of libraries (genlib, liberty, scl). --- src/map/amap/amapLiberty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/amap/amapLiberty.c') 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 -- cgit v1.2.3