forked from bonsai/harakit
libdelimit: updates to make API easier to use; fop(1): updated to new libdelimit API
This commit is contained in:
+2
-2
@@ -94,7 +94,7 @@ fn main() -> ExitCode {
|
||||
|
||||
let stdin = stdin().lock();
|
||||
|
||||
let mut input = Delimited::new(stdin, d.clone().as_bytes());
|
||||
let mut input = Delimited::new(stdin, d.clone());
|
||||
let mut n = 0;
|
||||
|
||||
let mut fopped = false;
|
||||
@@ -104,7 +104,7 @@ fn main() -> ExitCode {
|
||||
Ok(v) => v,
|
||||
Err(e) => {
|
||||
err(&argv[0], e);
|
||||
exit(EX_IOERR.into());
|
||||
return EX_IOERR.into();
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user