ac2f5f225c
This generates nodenames.h which is a file that used to begin #ifdef DEBUG (line 1) and end with #endif (last line) with no intervening (matching) #else ... ie: for DEBUG use only. That led to situations where non-debug code would like to make use of the info provided, if DEBUG was enabled, needed to add #ifdef DEBUG at the point of use. Avoid that by providing new macros that are always defined (DEBUG or not, so now we have a #else) which allow code to be written to make use of the extra DEBUG info, if it is available, or not, if not. While here, add double-include protection on the generated .h file (just being cautious - nothing is ever going to cause it to get included anywhere twice - or it shouldn't) and add the traditional comments on the #else and #endif stuff (which is also really useless as no-one is really expected to ever read the generated file). Never mind. Nothing yet (elsewhere in the sh source) uses the new macros, so there's even less chance of this changing anything than there would otherwise be. |
||
---|---|---|
.. | ||
cat | ||
chio | ||
chmod | ||
cp | ||
csh | ||
date | ||
dd | ||
df | ||
domainname | ||
echo | ||
ed | ||
expr | ||
hostname | ||
kill | ||
ksh | ||
ln | ||
ls | ||
mkdir | ||
mt | ||
mv | ||
pax | ||
ps | ||
pwd | ||
rcmd | ||
rcp | ||
rm | ||
rmdir | ||
sh | ||
sleep | ||
stty | ||
sync | ||
test | ||
Makefile | ||
Makefile.inc |