Skip to content

ti_Read End of File #175

@acagliano

Description

@acagliano

We've discussed this in Cemetech SAX... ti_Read() has buggy end-of-file behavior. As of now, ti_read() continues to read past the end of the file, when it should stop. Example of usage that should stop, yet loops endlessly.

while(ti_Read(&check, sizeof(ProgData_t), 1, attributes)){ if(!strncmp(progname, check.name, 8)) {response = i; break;} i++; }

Posting mainly just for recording purposes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions