Commit Graph

6 Commits

Author SHA1 Message Date
Aryadev Chavali
4d01a66401 Read an initial chunk on initialising a stream 2025-08-29 20:04:00 +01:00
Aryadev Chavali
fadbbd8927 make eoc also check feof on STREAM_TYPE_FILE 2025-08-29 20:03:43 +01:00
Aryadev Chavali
7595c46f5c Fix bug where chunking overwrites previously cached results 2025-08-29 14:53:18 +01:00
Aryadev Chavali
d73380035c Fixed some more issues with streams (stdin/pipe based)
substr didn't work properly, nor did seek.  Just use the same
principle as stream_next
2025-08-29 08:42:03 +01:00
Aryadev Chavali
29d2453288 Cleaned up bugs with stream implementation
Principle was that we may have read all the content from the
underlying pipe (s.t. it set the EoF flag) but we haven't actually
iterated the content.
2025-08-29 08:28:32 +01:00
Aryadev Chavali
cc56a2ee2b Still got some failures, but a basic stream implementation
Need to fix what's going on with the example in main.c using stdin.
2025-08-28 22:55:41 +01:00