Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
5e3501df
Commit
5e3501df
authored
Dec 08, 2014
by
Mike Hibler
Browse files
Remove a mis-guided assertion.
parent
a43015c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/os/frisbee.redux/config.c
View file @
5e3501df
...
...
@@ -451,7 +451,6 @@ resolvepath(char *path, char *dir, int create)
if
((
pathcopy
=
strdup
(
path
))
==
NULL
)
goto
done
;
rpathlen
=
strlen
(
rpath
);
assert
(
rpathlen
<=
pathlen
);
if
(
rpathlen
>
1
&&
strncmp
(
pathcopy
,
rpath
,
rpathlen
)
==
0
&&
(
pathcopy
[
rpathlen
]
==
'\0'
||
pathcopy
[
rpathlen
]
==
'/'
))
{
/* same string, start at last slash in path */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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