On Wednesday 20 January 2010 11:40:38 am Daniel Dilts wrote:
> The problem is that this requires the cleanup to be done in each if
>  block.  Avoiding that is one of the main purposes of the
>  do{}while(false) block.  Note that the DIR * has to be released if it
>  has been created successfully.

Are we talking about readability or reducing the number of lines of code and 
minimizing bugs?  Yes, all three are related, but there is always give and 
take.

-- 
Alberto Treviño
BYU Testing Center
Brigham Young University
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to