remove debug statements
This commit is contained in:
parent
2154205711
commit
b9fb07121b
25
src/user.zig
25
src/user.zig
|
@ -111,30 +111,6 @@ pub const PackedUser = struct {
|
||||||
next = bytes[nextStart..];
|
next = bytes[nextStart..];
|
||||||
}
|
}
|
||||||
|
|
||||||
std.debug.print("\n", .{});
|
|
||||||
std.debug.print("startBlob: {d}\n", .{startBlob});
|
|
||||||
std.debug.print("endBlob: {d}\n", .{endBlob});
|
|
||||||
std.debug.print("nextStart: {d}\n", .{nextStart});
|
|
||||||
std.debug.print("len(userdata): {d}\n", .{bytes[startBlob..endBlob].len});
|
|
||||||
std.debug.print("uid: {d}\n", .{inner.uid});
|
|
||||||
std.debug.print("gid: {d}\n", .{inner.gid});
|
|
||||||
std.debug.print("additional_gids_offset: {d}\n", .{inner.additional_gids_offset});
|
|
||||||
std.debug.print("shell_here: {d}\n", .{inner.shell_here});
|
|
||||||
std.debug.print("shell_len_or_idx: {d}\n", .{inner.shell_len_or_idx});
|
|
||||||
std.debug.print("home_len: {d}\n", .{inner.home_len});
|
|
||||||
std.debug.print("name_is_a_suffix: {d}\n", .{inner.name_is_a_suffix});
|
|
||||||
std.debug.print("name_len: {d}\n", .{inner.name_len});
|
|
||||||
std.debug.print("gecos_len: {d}\n", .{inner.gecos_len});
|
|
||||||
std.debug.print("userdata: {s}\n", .{bytes[startBlob..endBlob]});
|
|
||||||
std.debug.print("userdata[0]: {c}\n", .{bytes[startBlob]});
|
|
||||||
std.debug.print("userdata[1]: {c}\n", .{bytes[startBlob + 1]});
|
|
||||||
std.debug.print("userdata[2]: {c}\n", .{bytes[startBlob + 2]});
|
|
||||||
std.debug.print("userdata[3]: {c}\n", .{bytes[startBlob + 3]});
|
|
||||||
std.debug.print("userdata[4]: {c}\n", .{bytes[startBlob + 4]});
|
|
||||||
std.debug.print("userdata[5]: {c}\n", .{bytes[startBlob + 5]});
|
|
||||||
std.debug.print("userdata[6]: {c}\n", .{bytes[startBlob + 6]});
|
|
||||||
std.debug.print("userdata[7]: {c}\n", .{bytes[startBlob + 7]});
|
|
||||||
|
|
||||||
return Entry{
|
return Entry{
|
||||||
.user = PackedUser{
|
.user = PackedUser{
|
||||||
.inner = inner,
|
.inner = inner,
|
||||||
|
@ -318,7 +294,6 @@ test "construct PackedUser section" {
|
||||||
var buf = ArrayList(u8).init(testing.allocator);
|
var buf = ArrayList(u8).init(testing.allocator);
|
||||||
defer buf.deinit();
|
defer buf.deinit();
|
||||||
|
|
||||||
std.debug.print("\n", .{});
|
|
||||||
const users = [_]User{ User{
|
const users = [_]User{ User{
|
||||||
.uid = 1000,
|
.uid = 1000,
|
||||||
.gid = 1000,
|
.gid = 1000,
|
||||||
|
|
Loading…
Reference in New Issue