diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-10-31 11:52:30 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-10-31 11:52:30 +0100 |
commit | ba1a347dcaba055f824161007dfee60db3ea785b (patch) | |
tree | 3ef02a35db9f468c5c3960ab05f7d9b02d12b484 /Makefile%2525252525252525253fid%2525252525252525253d7d5fe17391fefd978eab281a6cbebe2aa601e9ce%25252525252525253fid%25252525252525253d7f36736d11418b0b11d02da8aa0cb663406706c2%252525252525253fid%252525252525253d115c01b74ebd57382679bec5c6e1ff5604370cbf%2525252525253fid%2525252525253dd77340ed53ab7b04e289569b00cb46bd6f3ec06b%25252525253fid%25252525253dda7a79912124743e7fbbef81c2450aeaf4ccca87%252525253fid%252525253d855a56631916bdff1438e11c232b88450f973648%3fid%3ddfbbf7f6e1b22ccf9e5a45d77ee10995577fb4fc?id=ba1a347dcaba055f824161007dfee60db3ea785b | |
parent | bcbc1ef5c4cf4875a4d66e7dc0919da88a6096a5 (diff) |
readstdin: allocate amount of items
Keep track of the amount of items (not a total buffer size), allocate an array of
new items. For now change BUFSIZ bytes to 256 * sizeof(struct item)).
Diffstat (limited to 'Makefile%2525252525252525253fid%2525252525252525253d7d5fe17391fefd978eab281a6cbebe2aa601e9ce%25252525252525253fid%25252525252525253d7f36736d11418b0b11d02da8aa0cb663406706c2%252525252525253fid%252525252525253d115c01b74ebd57382679bec5c6e1ff5604370cbf%2525252525253fid%2525252525253dd77340ed53ab7b04e289569b00cb46bd6f3ec06b%25252525253fid%25252525253dda7a79912124743e7fbbef81c2450aeaf4ccca87%252525253fid%252525253d855a56631916bdff1438e11c232b88450f973648%3fid%3ddfbbf7f6e1b22ccf9e5a45d77ee10995577fb4fc?id=ba1a347dcaba055f824161007dfee60db3ea785b')
0 files changed, 0 insertions, 0 deletions