Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
61aadcdb
Commit
61aadcdb
authored
Dec 31, 2008
by
mattijs
Browse files
handling [(nil)] from sicortex
parent
d611b859
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OSspecific/Unix/printStack.C
View file @
61aadcdb
...
...
@@ -149,7 +149,7 @@ void getSymbolForRaw
const
word
&
address
)
{
if
(
filename
[
0
]
==
'/'
)
if
(
filename
.
size
()
>
0
&&
filename
[
0
]
==
'/'
)
{
string
fcnt
=
pOpen
(
...
...
@@ -220,6 +220,7 @@ void error::printStack(Ostream& os)
if
(
lPos
!=
string
::
npos
&&
rPos
!=
string
::
npos
&&
lPos
<
rPos
)
{
address
=
msg
.
substr
(
lPos
+
1
,
rPos
-
lPos
-
1
);
msg
=
msg
.
substr
(
0
,
lPos
);
}
string
::
size_type
bracketPos
=
msg
.
find
(
'('
);
...
...
Write
Preview
Supports
Markdown
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