From: <ai...@us...> - 2009-02-21 16:34:34
|
Revision: 9573 http://plplot.svn.sourceforge.net/plplot/?rev=9573&view=rev Author: airwin Date: 2009-02-21 16:34:27 +0000 (Sat, 21 Feb 2009) Log Message: ----------- Handle case when ctimeqsas detects an error. Modified Paths: -------------- trunk/src/pltime.c Modified: trunk/src/pltime.c =================================================================== --- trunk/src/pltime.c 2009-02-21 16:20:17 UTC (rev 9572) +++ trunk/src/pltime.c 2009-02-21 16:34:27 UTC (rev 9573) @@ -50,7 +50,10 @@ void c_plctime(PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec, PLFLT *ctime) { - ctimeqsas(year, month, day, hour, min, sec, ctime, plsc->qsasconfig); + int ret; + ret = ctimeqsas(year, month, day, hour, min, sec, ctime, plsc->qsasconfig); + if(ret) + plabort("plctime: ctimeqsas detected error"); } /* Set format for date / time labels. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |