]> Kevux Git Server - controller/commit
Progress: Begin migrating the project, doing some initial preparations.
authorKevin Day <kevin@kevux.org>
Thu, 4 Apr 2024 03:20:54 +0000 (22:20 -0500)
committerKevin Day <kevin@kevux.org>
Thu, 4 Apr 2024 03:20:54 +0000 (22:20 -0500)
commit2ace4fc71edbb99ae99e72a1c623aa949fcc63bd
treea9a4f5a984535b671cd0b6e51cb7fa32189fd4d4
parentba876192fc4034a7203a15a8e38159c458999fac
Progress: Begin migrating the project, doing some initial preparations.

Tweak the fakefile structure.
Remove the "as_init" fakefile mode.
Use library instead of object so that both controller and init may use the same library.
I may want to create a custon "init only" mode where init uses libinit.so rather than libcontroller.so.

Have the build settings pass "-D_controller_as_init_" directly for the init fakefile.

Add the child process exit code.
I may end up changing this again, but I wanted to start off very consistent with other projects design.

Finish the help printing process.
The program name is moved into the specific programs.

Add missing control group header file include.

Fix a mistake whee the main thread signal function is calling itself rather than the main signal handler.
This bad behavior results in a segfault.
22 files changed:
data/build/fakefile
data/build/settings
data/build/settings.controller
data/build/settings.init
sources/c/controller/controller.c
sources/c/controller/controller.h
sources/c/controller/main.c
sources/c/controller/string.c [new file with mode: 0644]
sources/c/controller/string.h [new file with mode: 0644]
sources/c/init/init.c
sources/c/init/init.h
sources/c/init/main.c
sources/c/init/string.c [new file with mode: 0644]
sources/c/init/string.h [new file with mode: 0644]
sources/c/main/common/enumeration.h
sources/c/main/common/string.c
sources/c/main/common/string.h
sources/c/main/common/type.h
sources/c/main/controller.h
sources/c/main/print/message.c
sources/c/main/print/message.h
sources/c/main/thread.c