diff --git a/dbug/monty.doc b/dbug/monty.doc index 1c102e1c31e323285b8fc6f2c3b465c4e777b58b..bd4096951d248e080cbbd85eeff0ec8795fbd571 100644 --- a/dbug/monty.doc +++ b/dbug/monty.doc @@ -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, 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 diff --git a/dbug/user.r b/dbug/user.r index f03f0675e0f6764ed2666e98d4fc282d62e9a6b2..198f88cf272059e9805c1eb33c969f253820d730 100644 --- a/dbug/user.r +++ b/dbug/user.r @@ -377,7 +377,7 @@ The factorial function is then called three times, with the arguments Note that the DBUG_PRINT takes exactly .B two arguments, with the second argument (a format string and list -of printable values) enclosed in parenthesis. +of printable values) enclosed in parentheses. .P Debug control strings consist of a header, the "-#", followed by a colon separated list of debugger arguments. @@ -575,7 +575,7 @@ The second argument to a .B DBUG_PRINT macro is a standard printf style 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. 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. @@ -807,7 +807,7 @@ and the corresponding argument list. Note that the format string and argument list are all one macro argument and .B must -be enclosed in parenthesis. +be enclosed in parentheses. .SP 1 EX:\ \fCDBUG_PRINT\ ("eof",\ ("end\ of\ file\ found"));\fR .br @@ -826,7 +826,7 @@ EX: \fCDBUG_DBUG\ ("net",\ packet,\ len);\fR .LI DBUG_SETJMP\ Used in place of the setjmp() function to first save the current 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. Currently all instances of DBUG_SETJMP must occur within the same function and at the same function nesting level.