libdelimit: updates to make API easier to use; fop(1): updated to new libdelimit API

This commit is contained in:
2025-11-12 16:18:46 -07:00
parent 2846ee3c01
commit 2f2b8cf067
2 changed files with 19 additions and 15 deletions
+2 -2
View File
@@ -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();
},
};