mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-28 20:55:11 +00:00
Use set_flog_file_fd via import
This commit is contained in:
parent
caac869b6e
commit
d3fd815eb3
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ fn main() {
|
||||||
// Rust sets O_CLOEXEC by default
|
// Rust sets O_CLOEXEC by default
|
||||||
// https://github.com/rust-lang/rust/blob/07438b0928c6691d6ee734a5a77823ec143be94d/library/std/src/sys/unix/fs.rs#L1059
|
// https://github.com/rust-lang/rust/blob/07438b0928c6691d6ee734a5a77823ec143be94d/library/std/src/sys/unix/fs.rs#L1059
|
||||||
|
|
||||||
flog::set_flog_file_fd(dbg_file.as_raw_fd());
|
set_flog_file_fd(dbg_file.as_raw_fd());
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
// TODO: should not be debug-print
|
// TODO: should not be debug-print
|
||||||
|
|
Loading…
Reference in a new issue