Files
wren/src
Paul Woolcock 7c25b4e187 fix: check getline return value to suppress gcc warning and fix build failure
The getline function's return value was previously ignored, causing gcc to emit a
warning that was treated as an error during build. This commit captures the return
value in a ssize_t variable and adds a check for -1 (indicating read failure) to
the existing feof(stdin) condition, ensuring both EOF and error conditions are
properly handled.
2015-01-02 13:10:03 +00:00
..