|
From: <set...@us...> - 2006-04-18 19:08:29
|
Revision: 1296 Author: sethdill Date: 2006-04-18 12:08:25 -0700 (Tue, 18 Apr 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1296&view=rev Log Message: ----------- Optimizations. Use getreadonlytextvalue() in the charset-conversion scripts, since the verb isn't going to change the string. Modified Paths: -------------- Frontier/branches/Conversant/Common/source/stringverbs.c Modified: Frontier/branches/Conversant/Common/source/stringverbs.c =================================================================== --- Frontier/branches/Conversant/Common/source/stringverbs.c 2006-04-18 18:34:24 UTC (rev 1295) +++ Frontier/branches/Conversant/Common/source/stringverbs.c 2006-04-18 19:08:25 UTC (rev 1296) @@ -2274,13 +2274,13 @@ flnextparamislast = true; - if (!getexempttextvalue (hp1, 1, &h)) - return (false); + if (!getreadonlytextvalue (hp1, 1, &h)) + goto error; newemptyhandle (&hresult); if (!macromantoutf8 (h, hresult)) - return (false); + goto error; disposehandle (h); @@ -2293,13 +2293,13 @@ flnextparamislast = true; - if (!getexempttextvalue (hp1, 1, &h)) - return (false); + if (!getreadonlytextvalue (hp1, 1, &h)) + goto error; newemptyhandle (&hresult); if (!utf8tomacroman (h, hresult)) - return (false); + goto error; disposehandle(h); @@ -2319,7 +2319,7 @@ flnextparamislast = true; - if (!getexempttextvalue (hp1, 3, &h)) + if (!getreadonlytextvalue (hp1, 3, &h)) goto error; newemptyhandle (&hresult); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |