Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 1997 19:02:39 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        "J. Utz" <spaz@u.washington.edu>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: help? extra braces in configure.c!!!???!!! 
Message-ID:  <199707200202.TAA00480@rah.star-gate.com>
In-Reply-To: Your message of "Sat, 19 Jul 1997 16:46:32 PDT." <Pine.OSF.3.96.970719163237.16939D-100000@becker1.u.washington.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
We don't use configure.c and will be removed from the sound driver
distribution.

	Amancio

>From The Desk Of "J. Utz" :
> ok, look at this and tell me what u think. i cant believe this works as
> intended!
> 
> the opening bare brace is matched by a closing bare brace, but what the
> hell? the for loop should execute the next line, but the next "line" is a
> big if thingy! what goes on? i think that the "big if thingy" is a "line"
> since it is curly bracket, but, man, that is hard to follow!
> 
> opinions?
> 
>    {
>     /*
>      * Partial driver
>      */
> 
>      full_driver = 0;
> 
>       for (i = 0; i <= OPT_LAST; i++)
>         if (can_select_option(i)) {
> 	  if (!(selected_options & B(i)))	/* Not selected yet */
> 	    if (!hw_table[i].verify) {
> 	      if (hw_table[i].alias)
> 		  selected_options |= B(hw_table[i].alias);
> 	      else
> 		 selected_options |= B(i);
> 	    }
>             else {
> 	      int def_answ = hw_table[i].default_answ;
>               fprintf(stderr, def_answ ? "%s (y/n) ? " : " %s (n/y) ? ",
>                       questions[i]);
> 	      if (think_positively(def_answ))
> 		if (hw_table[i].alias)
> 		    selected_options |= B(hw_table[i].alias);
> 		else
> 		   selected_options |= B(i);
> 	    }
> 	}
>     }
> 
> 
> *****************************************************************************
**
>  John Utz	spaz@u.washington.edu
> 	idiocy is the impulse function in the convolution of life
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707200202.TAA00480>