You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put back kal_process_wait, which a bulk edit had swallowed
⚠️⚠️ A REGEX SUBSTITUTION ACROSS A WHOLE FILE DELETED A FUNCTION I NEVER MEANT TO
TOUCH, and nothing local noticed: this file still compiled, because a definition
that is absent is not a compile error --- it is a link error, and only in a
program that calls it.
⭐ What found it was the cross-link job in openkal-musl, three repositories away:
ld64.lld: error: undefined symbol: _kal_process_wait
⇒ Restored from the branch point rather than retyped. The test file is updated
for the 0.11 spawn record at the same time.
The lesson is recorded rather than resolved: a multi-line pattern applied to a
whole file can remove more than it matches, and the only thing that reports it is
something that LINKS. This repository builds a library and does not link a
program, so its own build could never have caught this.
0 commit comments