readstdin: allocate amount of items
ba1a347d
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)).
1 file(s) · +6 −4