Module Name: src Committed By: kre Date: Sun May 14 11:23:33 UTC 2017
Modified Files: src/bin/sh: Makefile var.c Log Message: Make ${NETBSD_SHELL} value include (a human recognisable form of) MKREPRO_TIMESTAMP (as an additional word in the value, with a "BUILD:" prefix) if it is set during the build. (Trailing 00 pairs in the time are removed). While here, throw in some extra words that list the compilation options used which alter sh behaviour (mostly by removing stuff.) Usually that will only be noticed in a SMALL shell compiled for install media, or similar - none of the others (not that there are many) are ever changed from the default in a normal build (default settings are just omitted.) This also allows scripts to tell if they are running in a DEBUG shell, which can sometimes make debugging easier. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/bin/sh/Makefile cvs rdiff -u -r1.52 -r1.53 src/bin/sh/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.