Sau P
741921d60c
new(main.c): Func to remove trailing newline
...
Make use of remove newline function
document the remove_trailing new line
2024-11-30 10:53:32 +01:00
Sau P
c88a2aaba4
refactor(main.c): General readability improvements
...
- Braces around 'if' statements, line breaks too
- Assignments are clearer when they are not within a conditionals
2024-11-30 10:53:32 +01:00
Sau P
dbd9636495
refactor(main.c): Simplify 'caseless' toggling
...
Regarding the note: Control C on most terminals close the
currently running process/program (in this case csope).
We should look to change this bind in the future.
2024-11-30 10:53:32 +01:00
anon
110a057112
further clean main()
2024-11-15 19:27:46 +01:00
anon
f3f2d2d134
pass reffile to opendatabase explicitly
2024-11-15 19:16:49 +01:00
anon
50363c2cdc
ripped out giga-block from main
2024-11-15 12:15:08 +01:00
anon
17c8d522a8
remove unused var
2024-11-15 12:15:08 +01:00
anon
4c27e8d99e
fix reported compile error on newer gcc versions
2024-11-15 12:15:08 +01:00
anon
6f97db5f58
use postfatal as FIXME comment suggested
2024-11-13 15:34:55 +01:00
anon
066694a404
new macro case
2024-11-13 15:13:49 +01:00
anon
51775ae664
formatting and small edit
2024-11-13 15:13:38 +01:00
anon
ea23c58f41
remove the global fileargc
; clean cascading constantness warnings
2024-11-13 12:47:23 +01:00
anon
eea9222ade
remove global argv0, it has already been replaced by PROGRAM_NAME
2024-11-13 10:40:32 +01:00
anon
b7f1782f96
minor edits
2024-11-12 21:47:36 +01:00
anon
e31e3d9536
move all envirnment reading into readenv; rename isuptodate; make dir function arguments constant
2024-11-12 21:22:27 +01:00
anon
ea8166963b
simple edits
2024-11-12 21:21:24 +01:00
anon
b65804d64e
centralize temp file init/deinit outside of main
2024-11-12 21:19:00 +01:00
anon
85f86a774a
group vp* functions; simplify them; rename the module to vpath
2024-11-12 14:40:58 +01:00
anon
6489d782a1
edits of no significance
2024-11-12 14:40:19 +01:00
anon
8a994ae025
remove all references to "OGS subsystems"
2024-11-10 13:27:57 +01:00
anon
9646ef6752
styling and such, nothing of substance
2024-11-10 13:27:56 +01:00
anon
30e5ee9995
move sanity check snippet
2024-11-10 13:27:56 +01:00
anon
cffb1763b4
remove useless new lines
2024-11-10 13:27:56 +01:00
anon
a30d1d9558
remove mygetenv; replace it with a better function; move its logic to opt.c
2024-11-10 13:27:56 +01:00
anon
9c1af10b53
rename version file
2023-12-15 20:33:42 +01:00
anon
02ba196cd4
renamed folders
2023-09-26 09:29:23 +02:00