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
Anders Blomdell
rust-hashtoc
Commits
e9ccfeb4
Commit
e9ccfeb4
authored
Apr 17, 2018
by
Anders Blomdell
Browse files
Remove trace prints
parent
5cc7e57e
Changes
1
Show whitespace changes
Inline
Side-by-side
src/walk.rs
View file @
e9ccfeb4
...
@@ -60,7 +60,6 @@ fn check_path(path: &Path, mode: libc::c_int) -> bool
...
@@ -60,7 +60,6 @@ fn check_path(path: &Path, mode: libc::c_int) -> bool
result
=
libc
::
faccessat
(
AT_FDCWD
,
cstring
.as_ptr
(),
result
=
libc
::
faccessat
(
AT_FDCWD
,
cstring
.as_ptr
(),
mode
,
AT_SYMLINK_NOFOLLOW
);
mode
,
AT_SYMLINK_NOFOLLOW
);
}
}
println!
(
"Checking {:?} -> {:?}"
,
path
,
result
);
return
result
==
0
;
return
result
==
0
;
}
}
}
}
...
@@ -78,7 +77,6 @@ fn check_full_path(path: &Path, mode: libc::c_int) -> bool
...
@@ -78,7 +77,6 @@ fn check_full_path(path: &Path, mode: libc::c_int) -> bool
_
=>
break
_
=>
break
}
}
}
}
println!
(
"Checking {:?} {}"
,
path
,
result
);
return
result
;
return
result
;
}
}
...
...
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