CoSoCo
CoSoCo
``` pi_buffer_t *buf; // fill buf ... FileRef fileRef; dlp_VFSFileOpen(sd, volRef, path, vfsModeWrite, &fileRef); PI_ERR piErr = dlp_VFSFileWrite(sd, fileRef, buf->data, buf->used); if (piErr == PI_ERR_DLP_PALMOS) printf("PalmOS error: %d.\n", pi_palmos_error(sd)); ```...
I already reported this problem erroneously on the JPilot project. Please see https://github.com/juddmon/jpilot/issues/39 for the details.
Because `result` is defined as `unsigned`, it will never be negative. So the code after `if (result > 0)` becomes always executed, even on negative error result from `dlp_exec (sd,...
### Guidelines - [x] I have read [how to report a new issue](https://github.com/Aris-t2/CustomCSSforFx/issues/4) - [x] I have used the [latest release](https://github.com/Aris-t2/CustomCSSforFx/releases/latest) - [x] I have set the `toolkit.legacyUserProfileCustomizations.stylesheets` in `about:config`...