Subj : src/sbbs3/js_file.c To : Git commit to main/sbbs/master From : Deucе Date : Thu Mar 04 2021 05:05 pm https://gitlab.synchro.net/main/sbbs/-/commit/67c4ed071971b1428a300480 Modified Files: src/sbbs3/js_file.c Log Message: Implement POSIX requirements for FD/Stream interactions. Documented here: https://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_05.html#tag_02_05_01 This provides the best chance at read_raw() reading from the right location and updating the file pointer as expected while avoiding behaviour which is explicitly undefined by POSIX. .