libogc
libogc copied to clipboard
libtinysmb is a piece of shit
Steps to reproduce:
- Mount a remote share with write access (using smbInit or smbInitDevice).
- open() an existing non-zero length file on the share with flags=O_RDWR (equivalent to fopen(foo, "r+")). For maximum effect choose a savegame file that contains many hours of progress.
- Observe the file no longer contains any data and has been truncated to zero bytes.
- Realize libtinysmb is a piece of shit.