Skip to content
Snippets Groups Projects
Commit 20cfdb18 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Split-up the opening and writing of msg pointer files, to help debug issue

Reported by Keyop (upon being auto-disconnected overnight):
!ERROR 9 (Bad file descriptor) in data_ovl.cpp line 47 (putmsgptrs) writing
"message pointers" access=0

Unfortunately, the way putmsgptrs() was written, we couldn't tell if this was
an open (data/user/*.subs file) issue or a writing issue.

So create putmsgptrs_fp() and use that from sbbs_t::putmsgptrs(), so we can
log a different error (with more accurate details) if it's a file-open failure
versues a file-write failure.
parent 72f27c93
No related branches found
No related tags found
No related merge requests found
Pipeline #6600 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment