[PATCH] Documentation error for kconfig

From: Kevin P. Fleming (kpfleming@cox.net)
Date: Sat Jan 11 2003 - 00:21:12 EST


Unless I'm not thinking clearly, the attached patch for
Documentation/kbuild/kconfig-language.txt is in order. The min/max
equivalences for the || and && operators are backwards...

(Apologies if Mozilla munges the patch... it's small enough to be easily
recreatable anyway).

diff -X dontdiff -rN -U 15
linux-2.5/Documentation/kbuild/kconfig-language.txt
linux-2.5-new/Documentation/kbuild/kconfig-language.txt
--- linux-2.5/Documentation/kbuild/kconfig-language.txt Wed Jan 1
20:21:41 2003
+++ linux-2.5-new/Documentation/kbuild/kconfig-language.txt Fri Jan 10
22:08:23 2003
@@ -111,32 +111,32 @@
             '!' <expr> (5)
             <expr> '||' <expr> (6)
             <expr> '&&' <expr> (7)

  Expressions are listed in decreasing order of precedence.

  (1) Convert the symbol into an expression. Boolean and tristate symbols
      are simply converted into the respective expression values. All
      other symbol types result in 'n'.
  (2) If the values of both symbols are equal, it returns 'y',
      otherwise 'n'.
  (3) If the values of both symbols are equal, it returns 'n',
      otherwise 'y'.
  (4) Returns the value of the expression. Used to override precedence.
  (5) Returns the result of (2-/expr/).
-(6) Returns the result of min(/expr/, /expr/).
-(7) Returns the result of max(/expr/, /expr/).
+(6) Returns the result of max(/expr/, /expr/).
+(7) Returns the result of min(/expr/, /expr/).

  An expression can have a value of 'n', 'm' or 'y' (or 0, 1, 2
  respectively for calculations). A menu entry becomes visible when it's
  expression evaluates to 'm' or 'y'.

  There are two type of symbols: constant and nonconstant symbols.
  Nonconstant symbols are the most common ones and are defined with the
  'config' statement. Nonconstant symbols consist entirely of alphanumeric
  characters or underscores.
  Constant symbols are only part of expressions. Constant symbols are
  always surrounded by single or double quotes. Within the quote any
  other character is allowed and the quotes can be escaped using '\'.

  Menu structure
  --------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:36 EST