Patrick Georgi
ae001c320f
fix misleading indentation
...
Mostly to shut up the compiler, but some real bugs hidden in there.
2025-12-18 22:58:26 +01:00
Patrick Georgi
dca08bc5c2
terminate warning string
2025-12-18 22:58:26 +01:00
Patrick Georgi
fa31987221
dtlogin: Avoid putenv to fix issue with passing stack address
...
putenv doesn't copy the data, so the stack address used here is plain
wrong. It _probably_ doesn't matter all that much because it's
immediately followed by execv(), but let's keep things clean.
2025-12-18 22:58:26 +01:00
Patrick Georgi
b86eff35f0
Fix memory leaks
2025-12-18 22:58:26 +01:00
Patrick Georgi
ae767ed3dc
Mark error handlers as "noreturn"
...
Match X headers to satisfy newer compilers.
2025-12-18 22:58:26 +01:00
Patrick Georgi
ef2c655f55
Use NULL instead of nullptr
...
NULL is standard for long enough in POSIX to always be available,
while C23 introduced nullptr as a new constant, creating a conflict
here.
2025-12-18 22:58:26 +01:00
Patrick Georgi
5787ee456e
avoid use-after-free
2025-12-18 22:58:26 +01:00
Patrick Georgi
01b9288a2b
Remove FAR declarations
2025-12-18 22:58:26 +01:00
Patrick Georgi
ccbf6a8f8f
lib/tt: pass int by ref
2025-12-18 22:58:26 +01:00
Patrick Georgi
c0ad5170c9
Avoid "bool" variable name
...
C23 has a type of that name.
2025-12-18 22:58:26 +01:00
Patrick Georgi
4d41663c58
Avoid conflict with X11 headers
2025-12-18 22:58:25 +01:00
Patrick Georgi
3947facfa2
Remove trailing newlines
2025-12-18 22:58:24 +01:00
Patrick Georgi
a6f26ad279
dtmail: Update project files
2025-12-18 00:39:02 +01:00