summaryrefslogtreecommitdiffstats
path: root/arith.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-05-04 06:22:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-05-04 06:22:34 -0700
commite05dfea596bee5f26475b3715078ff315f22b5c2 (patch)
tree3a7babe2f44542220db234b8f71dd456f43a8ee5 /arith.h
parent94c4ac621f23e55b42f10d4cba920f2c7580005e (diff)
downloadtxr-e05dfea596bee5f26475b3715078ff315f22b5c2.tar.gz
txr-e05dfea596bee5f26475b3715078ff315f22b5c2.tar.bz2
txr-e05dfea596bee5f26475b3715078ff315f22b5c2.zip
Consolidate sysroot calculation.
* txr.c (sysroot_path): New static variable. (progpath): Variable renamed to prog_path. (sysroot_helper): Function removed. (maybe_sysroot): New function. (sysroot): Function now just catenates previously calculated sysroot path onto target without. (sysroot_init): Follow rename of progpath to prog_path. GC-protect sysroot_path. Calculate sysroot path; if not able, emit warning message and use empty string.
Diffstat (limited to 'arith.h')
0 files changed, 0 insertions, 0 deletions