Closed QRPp closed 3 years ago
sorry, this duplication of frozen code in mos is a problem. it should totally be moved out into a library, or made a module of the core library.
initially cesanta/mongoose-os was published from an internal repo, along with frozen and all the rest. frozen code was thus copied from the same master copy automatically and kept in sync that way. this publishing no longer happens, cesanta/mongoose-os is a fully independent repo and so for the time being frozen needs to be updated manually. as mentioned above, it should be made a module instead.
Thanks. No divergent copy is top choice here, props for logging an issue. The inferior choice of having the doc point to the divergent copy of the source code would at least help specifically my problem (eye-debugging the fixed code). However that'd be counter-productive if the proper fix goes ahead.
Apply commit 6b14d7aa102aa3190362f2209d38c054eed85c46 from https://github.com/cesanta/frozen, really.
Wasted a few hours chasing this already fixed bug anew, since https://mongoose-os.com/docs/mongoose-os/api/core/frozen.h.md points at the fixed source elsewhere rather than this mismaintained copy: what's the need for it? Can't src/frozen be, e.g., a Git module-based Mongoose OS library?