Compare commits
No commits in common. "f0c33e2ad98818301f60214a942f5057d06bcf11" and "b5c18ace38f5fe092c343c2f1639fb56fc7cabbb" have entirely different histories.
f0c33e2ad9
...
b5c18ace38
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -110,7 +110,7 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "logtimes"
|
name = "logtimes"
|
||||||
version = "1.0.28"
|
version = "1.0.27"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
]
|
]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "logtimes"
|
name = "logtimes"
|
||||||
version = "1.0.28"
|
version = "1.0.27"
|
||||||
authors = ["Paul Schulze <p.schulze@avm.de>"]
|
authors = ["Paul Schulze <p.schulze@avm.de>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
use std::{
|
use std::{
|
||||||
env::args,
|
env::args,
|
||||||
fs::File,
|
fs::File,
|
||||||
io::{Error as IoError, ErrorKind, Read, Write, stdin, stdout},
|
io::{stdin, stdout, Error as IoError, ErrorKind, Read, Write},
|
||||||
};
|
};
|
||||||
|
|
||||||
use chrono::prelude::*;
|
use chrono::prelude::*;
|
||||||
@ -94,7 +94,7 @@ fn run() -> LogtimesResult {
|
|||||||
f.write_all(&linebuf[..end])?;
|
f.write_all(&linebuf[..end])?;
|
||||||
f.write_all(b"\n")?;
|
f.write_all(b"\n")?;
|
||||||
f.flush()?;
|
f.flush()?;
|
||||||
}
|
};
|
||||||
|
|
||||||
// clear line buffer, so it is fresh for the next line
|
// clear line buffer, so it is fresh for the next line
|
||||||
linebuf.clear();
|
linebuf.clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user