this repo has no description
56
fork

Configure Feed

Select the types of activity you want to include in your feed.

deps: update ourio

+5 -5
+2 -2
build.zig.zon
··· 7 7 8 8 .dependencies = .{ 9 9 .ourio = .{ 10 - .url = "git+https://github.com/rockorager/ourio#17280493cff33a4713d7df39933557792789f002", 11 - .hash = "ourio-0.0.0-_s-z0fsOAgBBgWaFDe0-yxAFdOJYN0ySemeXbEghPUh9", 10 + .url = "git+https://github.com/rockorager/ourio#ed8a67650e5dbb0a6dca811c9d769187e306ad94", 11 + .hash = "ourio-0.0.0-_s-z0dAWAgD3XNod2pTh0H8X-a3CjtpAwduh7jcgBz0G", 12 12 }, 13 13 .zeit = .{ 14 14 .url = "git+https://github.com/rockorager/zeit#4496d1c40b2223c22a1341e175fc2ecd94cc0de9",
+3 -3
src/main.zig
··· 898 898 // Largest TZ file on my system is Asia/Hebron at 4791 bytes. We allocate an amount 899 899 // sufficiently more than that to make sure we do this in a single pass 900 900 const buffer = try cmd.arena.alloc(u8, 8192); 901 - _ = try io.read(fd, buffer, .{ 901 + _ = try io.read(fd, buffer, .file, .{ 902 902 .cb = onCompletion, 903 903 .ptr = cmd, 904 904 .msg = @intFromEnum(Msg.read_localtime), ··· 920 920 // TODO: stat this or do multiple reads. We'll never know a good bound unless we go 921 921 // really big 922 922 const buffer = try cmd.arena.alloc(u8, 8192 * 2); 923 - _ = try io.read(fd, buffer, .{ 923 + _ = try io.read(fd, buffer, .file, .{ 924 924 .cb = onCompletion, 925 925 .ptr = cmd, 926 926 .msg = @intFromEnum(Msg.read_passwd), ··· 968 968 const fd = try result.open; 969 969 970 970 const buffer = try cmd.arena.alloc(u8, 8192); 971 - _ = try io.read(fd, buffer, .{ 971 + _ = try io.read(fd, buffer, .file, .{ 972 972 .cb = onCompletion, 973 973 .ptr = cmd, 974 974 .msg = @intFromEnum(Msg.read_group),