Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | touch: mitigate potential uninitialized pointerrunxiyu/overhauling-the-build-system | Runxi Yu | 2024-08-09 | 1 | -2/+5 |
| | | | | | | | If the while loop doesn't run (i.e. getopt returns -1 on first run), datefmt and date_string end up uninitialized. So we hereby initialize them to NULL and check if they're NULL at the end of the loop, to be safe. | ||||
* | Use a new build system for everything, and revamp directories. | Runxi Yu | 2024-08-06 | 1 | -0/+93 |
Previously there was quite a bit of sed(1)'ing going on on each source file, and a bit of copying them to box_tmp. Now we use preprocessor directives instead, things should be much cleaner. And since it's a pain to prefix strings, move all programs out of subdirs. I've also clarified the Makefile system a bit. I'm unsure how to make standalone programs with POSIX Make, so currently we only generate fases-in-a-box. |