Motiejus Jakštys
63acece1a4
trivial style
2022-04-18 06:48:31 +03:00
Motiejus Jakštys
28e8f11f91
getgrnam works, except for memory leaks
2022-04-17 08:58:57 +03:00
Motiejus Jakštys
67360962c3
fix Group.init to copy appropriately
2022-04-16 06:24:55 +03:00
Motiejus Jakštys
5968d8494e
add CGroup
2022-04-16 05:36:49 +03:00
Motiejus Jakštys
a655d8a88a
wip group clone/new
2022-04-10 23:30:12 +02:00
Motiejus Jakštys
3447fce9f7
wip groupmembers is 2-alloc away.
2022-04-10 21:00:41 +02:00
Motiejus Jakštys
3e9cfcbdbf
wip fromLine
2022-04-10 20:58:43 +02:00
Motiejus Jakštys
41ed32994f
add strlen for PackedUser strings
2022-04-08 20:05:39 +03:00
Motiejus Jakštys
c343bf64fb
Revert "wip groupmembers is 2-alloc away."
...
This reverts commit 7c41cbabe7
.
Not doing this now.
2022-04-08 16:08:03 +03:00
Motiejus Jakštys
7c41cbabe7
wip groupmembers is 2-alloc away.
2022-04-08 15:05:56 +03:00
Motiejus Jakštys
0766175915
wip groupMemberNames
2022-04-07 12:23:50 +03:00
Motiejus Jakštys
d4d3729bf0
Group.members: fake sentinel at clone time
2022-04-03 14:56:01 +03:00
Motiejus Jakštys
5704deb6b3
make Group.members an array with sentinel
...
Triggers a bug in the compiler, similar to
https://github.com/ziglang/zig/issues/7517
2022-04-03 14:48:53 +03:00
Motiejus Jakštys
34049d13f0
group members are now slices
2022-03-26 12:06:07 +02:00
Motiejus Jakštys
88d88af111
wip cloneArray
...
may not turn out to be useful though
2022-03-26 11:12:04 +02:00
Motiejus Jakštys
fad7c9fbaf
DB.header is becoming a pointer
...
Also, move User, PackedUser, Group, PackedGroup to better-fit places.
2022-03-26 10:40:35 +02:00
Motiejus Jakštys
347f0a1392
Write the file
...
Also move DB and Corpus to their own files while doing that.
2022-03-24 12:36:08 +02:00
Motiejus Jakštys
a8b45911aa
weekend changes
...
- move main.zig to it's own package, create lib/
- rename AllSections to DB, remove intermediate tuples
- iovec does not allocate
- remove error{Overflow} from almost everywhere
2022-03-23 12:01:13 +02:00