Commit 59c396e3 authored by unknown's avatar unknown

monty.doc:

  Grammar fix.
user.r:
  A few typo fixes.


dbug/user.r:
  A few typo fixes.
dbug/monty.doc:
  Grammar fix.
parent 9c678beb
...@@ -15,6 +15,6 @@ All changes that I or other people at MySQL AB have done to all files ...@@ -15,6 +15,6 @@ All changes that I or other people at MySQL AB have done to all files
in the dbug library (Mainly in dbug.c, dbug_analyze.c, dbug_long.h, in the dbug library (Mainly in dbug.c, dbug_analyze.c, dbug_long.h,
dbug.h) are put in public domain, as the rest of the dbug.c library) dbug.h) are put in public domain, as the rest of the dbug.c library)
To my knowledge, all code in dbug library are in public domain. To my knowledge, all code in dbug library is in public domain.
Michael Widenius Michael Widenius
...@@ -377,7 +377,7 @@ The factorial function is then called three times, with the arguments ...@@ -377,7 +377,7 @@ The factorial function is then called three times, with the arguments
Note that the DBUG_PRINT takes exactly Note that the DBUG_PRINT takes exactly
.B two .B two
arguments, with the second argument (a format string and list arguments, with the second argument (a format string and list
of printable values) enclosed in parenthesis. of printable values) enclosed in parentheses.
.P .P
Debug control strings consist of a header, the "-#", followed Debug control strings consist of a header, the "-#", followed
by a colon separated list of debugger arguments. by a colon separated list of debugger arguments.
...@@ -575,7 +575,7 @@ The second argument to a ...@@ -575,7 +575,7 @@ The second argument to a
.B DBUG_PRINT .B DBUG_PRINT
macro is a standard printf style macro is a standard printf style
format string and one or more arguments to print, all format string and one or more arguments to print, all
enclosed in parenthesis so that they collectively become a single macro enclosed in parentheses so that they collectively become a single macro
argument. argument.
This is how variable numbers of printf arguments are supported. This is how variable numbers of printf arguments are supported.
Also note that no explicit newline is required at the end of the format string. Also note that no explicit newline is required at the end of the format string.
...@@ -807,7 +807,7 @@ and the corresponding argument list. ...@@ -807,7 +807,7 @@ and the corresponding argument list.
Note that the format string and argument list are all one macro argument Note that the format string and argument list are all one macro argument
and and
.B must .B must
be enclosed in parenthesis. be enclosed in parentheses.
.SP 1 .SP 1
EX:\ \fCDBUG_PRINT\ ("eof",\ ("end\ of\ file\ found"));\fR EX:\ \fCDBUG_PRINT\ ("eof",\ ("end\ of\ file\ found"));\fR
.br .br
...@@ -826,7 +826,7 @@ EX: \fCDBUG_DBUG\ ("net",\ packet,\ len);\fR ...@@ -826,7 +826,7 @@ EX: \fCDBUG_DBUG\ ("net",\ packet,\ len);\fR
.LI DBUG_SETJMP\ .LI DBUG_SETJMP\
Used in place of the setjmp() function to first save the current Used in place of the setjmp() function to first save the current
debugger state and then execute the standard setjmp call. debugger state and then execute the standard setjmp call.
This allows to the debugger to restore it's state when the This allows to the debugger to restore its state when the
DBUG_LONGJMP macro is used to invoke the standard longjmp() call. DBUG_LONGJMP macro is used to invoke the standard longjmp() call.
Currently all instances of DBUG_SETJMP must occur within the Currently all instances of DBUG_SETJMP must occur within the
same function and at the same function nesting level. same function and at the same function nesting level.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment