/[libtool]/libtool/HACKING
ViewVC logotype

Diff of /libtool/HACKING

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6.2.5 by gary, Sun Jan 9 13:58:57 2005 UTC revision 1.6.2.6 by rwild, Tue Feb 1 07:35:04 2005 UTC
# Line 200  yyyy-mm-dd  Name of Author  <email@addre Line 200  yyyy-mm-dd  Name of Author  <email@addre
200    variable names.  Don't use `return', instead echo the result of a    variable names.  Don't use `return', instead echo the result of a
201    function and call it from within backquotes.    function and call it from within backquotes.
202    
203  * Function names should be prefixed `func_'.  * Function names should be prefixed `func_', the function header should
204      look like this:
205    
206      # func_foo [ OPTIONS ]
207      # Description of what func_foo does and returns.
208      func_foo ()
209      {
210          $opt_debug
211          # contents of func_foo ...
212      }
213    
214      The `$opt_debug' is used to enable shell tracing (Korn shells reset
215      this on function entry).
216    
217  * For functions that are called frequently, if you need to return a  * For functions that are called frequently, if you need to return a
218    value, don't cause unneccessary forking of the shell using echo as    value, don't cause unneccessary forking of the shell using echo as

Legend:
Removed from v.1.6.2.5  
changed lines
  Added in v.1.6.2.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26