Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2a8ee9fb
Commit
2a8ee9fb
authored
Jan 28, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbug: don't consider double colom (::) a separator -
it can be part of a function name (Item::reset)
parent
60f0cd8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
dbug/dbug.c
dbug/dbug.c
+4
-2
dbug/user.r
dbug/user.r
+5
-6
No files found.
dbug/dbug.c
View file @
2a8ee9fb
...
...
@@ -1995,12 +1995,14 @@ static char *DbugMalloc(size_t size)
/*
* strtok lookalike - splits on ':', magically handles :\ and :/
* strtok lookalike - splits on ':', magically handles :
:, :
\ and :/
*/
static
const
char
*
DbugStrTok
(
const
char
*
s
)
{
while
(
s
[
0
]
&&
(
s
[
0
]
!=
':'
||
(
s
[
1
]
==
'\\'
||
s
[
1
]
==
'/'
)))
const
char
*
start
=
s
;
while
(
s
[
0
]
&&
(
s
[
0
]
!=
':'
||
(
s
[
1
]
==
'\\'
||
s
[
1
]
==
'/'
||
(
s
[
1
]
==
':'
&&
s
++
))))
s
++
;
return
s
;
}
...
...
dbug/user.r
View file @
2a8ee9fb
...
...
@@ -908,9 +908,10 @@ via the
.B DBUG_PUSH
or
.B DBUG_SET
macros. Control string consists of colon separate flags. A flag
may take an argument or a list of arguments. If a control string
starts from a '+' sign it works
macros. Control string consists of colon separate flags. Colons
that are part of ':\\', ':/', or '::' are not considered flag
separators. A flag may take an argument or a list of arguments.
If a control string starts from a '+' sign it works
.I incrementally,
that is, it can modify existing state without overriding it. In such a
string every flag may be preceded by a '+' or '-' to enable or disable
...
...
@@ -923,9 +924,7 @@ optional.
.LI a[,file]
Redirect the debugger output stream and append it to the specified
file. The default output stream is stderr. A null argument list
causes output to be redirected to stdout. A colon that is followed by
the '\\' or '/' is cosidered a part of the path and not a flag
separator.
causes output to be redirected to stdout.
.SP 1
EX: \fCa,C:\\tmp\\log\fR
.LI A[,file]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment