Max line length 4096

This commit is contained in:
Paul Campbell 2021-12-29 19:04:18 +00:00
parent 3c2e69d5d6
commit 0795836b61

View file

@ -20,7 +20,7 @@ pub fn main() anyerror!void {
try dumpInput(stdin, stdout); try dumpInput(stdin, stdout);
} }
const maxLineLength = 100; const maxLineLength = 4096;
fn dumpInput(in: File, out: File) !void { fn dumpInput(in: File, out: File) !void {
var buffer: [maxLineLength]u8 = undefined; var buffer: [maxLineLength]u8 = undefined;