flipper-io / flipper

Flipper is a development platform that can be controlled from any programming language.
https://www.flipper.io/
Apache License 2.0
70 stars 15 forks source link

File handling functions don't report (or even check for) failure. #41

Closed TravisWhitaker closed 7 years ago

TravisWhitaker commented 8 years ago

Take fs_upload() for example. It calls fopen, fwrite, and fclose without checking if any of those operations actually worked.

TravisWhitaker commented 8 years ago

Ok, in that case it does check that it was able to open the file. But if it wasn't able to, it doesn't try to figure out why.

georgemorgan commented 7 years ago

Got 'em.