libk  Check-in [d49a706cc4]

Comment:Merge the shared library build fixes into trunk
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d49a706cc45031bfb5820382ca59223e98236b798f5af51fab1bbbabe12b2069
User & Date: glowpelt on 2020-01-30 07:15:15
Other Links: manifest | tags
Add a final terminating null to first message in kcli_usage. This was causing the shared library build to segfault. Not perfect, as if there are no options, there will be two nulls, but two is better than none. check-in: 6aeac330ce user: glowpelt tags: trunk
Merge the shared library build fixes into trunk check-in: d49a706cc4 user: glowpelt tags: trunk
Push r15 in linux x64 syscall This was causing the static, release, build of kcli.testbin to subtly segfault shortly after writing the first buffer. Still not sure why kcore.testbin seemingly wasn't affected, nor why the shared build still breaks worse. check-in: 6022ec08ab user: glowpelt tags: trunk
Add a err.c for every module, and compile them all in. This fixes the build of the shared library version, as there are no more undefined symbols. `kexplain` likely will still not work, but it didn't work in the first place. Closed-Leaf check-in: bdc1191d6f user: glowpelt tags: fixshared

Modified from [e58e880af0] to [773f649c53].    [diff]

Added mod/kbuild/err.c version [42300f7063].

Added mod/kcli/err.c version [b3a720b992].

Added mod/kconf/err.c version [f24c551630].

Added mod/kcore/err.c version [db26488769].

Added mod/kdb/err.c version [c317300ad1].

Added mod/kdbg/err.c version [de0ca1aede].

Added mod/kfile/err.c version [2fb451a006].

Added mod/kgraft/err.c version [5fc7fb86ef].

Added mod/kio/err.c version [32b33274ee].

Added mod/kmem/err.c version [e872bb1499].

Added mod/kmsg/err.c version [0ac3a8b2d0].

Added mod/knet/err.c version [0eec7df907].

Added mod/knum/err.c version [bf1b024a5e].

Added mod/kproc/err.c version [d89332917b].

Added mod/kstr/err.c version [97f00e5310].

Added mod/kterm/err.c version [82b03c1638].