Improve 1992/westley/try.sh + whereami code

The try.sh now allows for specifying CC=foo.

The whereami.c and whereami.alt.c also allows for this. It leaks memory
but the OS should reclaim it and it's not a lot. It leaks memory because
if calloc(3) returns NULL it sets the string to a literal string to
prevent any problems with it (though one might wonder if the rest of it
will work).
This commit is contained in:
Cody Boone Ferguson committed 2023-11-14 03:30:36 -08:00
1 parent 0d90372331
commit c4a79981af
5 files changed
+106 -33

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ include ../../var.mk
#
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
-Wno-parentheses -Wno-pedantic -Wno-deprecated-non-prototype -Wno-int-conversion \
-Wno-implicit-int
-Wno-implicit-int -Wno-comma -Wno-missing-prototypes -Wno-return-type
# Common C compiler warning flags
#