|
From: <cre...@us...> - 2006-07-08 01:11:04
|
Revision: 1454 Author: creecode Date: 2006-07-07 18:11:00 -0700 (Fri, 07 Jul 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1454&view=rev Log Message: ----------- call clearbytes once at top of coercetofilespec function Modified Paths: -------------- Frontier/branches/FSRef_Migration/Common/source/langvalue.c Modified: Frontier/branches/FSRef_Migration/Common/source/langvalue.c =================================================================== --- Frontier/branches/FSRef_Migration/Common/source/langvalue.c 2006-07-08 01:08:04 UTC (rev 1453) +++ Frontier/branches/FSRef_Migration/Common/source/langvalue.c 2006-07-08 01:11:00 UTC (rev 1454) @@ -3035,14 +3035,10 @@ if (flinhibitnilcoercion) return (false); - clearbytes (&fs, sizeof (fs)); - break; case longvaluetype: - if ((*v).data.longvalue == 0) - clearbytes (&fs, sizeof (fs)); - else + if ( (*v).data.longvalue != 0) langcoerceerror (v, filespecvaluetype); break; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |