Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/sh



Module Name:    src
Committed By:   kre
Date:           Tue Nov 24 13:26:11 UTC 2026

Modified Files:
        src/bin/sh: show.c

Log Message:
/bin/sh - minor DEBUG mode extension

This is a DEBUG mode only change, it does not affect any
shell built normally (nothing built by the NetBSD build
machinery) in any way -- the whole file being changed is
effectively #ifdef DEBUG and (in sh builds) DEBUG is
never defined (except by me, and perhaps, one day, someone
else.)

This adds a (trivial) mechanism to allow sh debug mode trace
files to be placed in some other directory than "." -- mostly
so it is possible to run a DEBUG compiled shell with debug
enabled while running ATF tests, without the trace file being
removed ("cleaned up") by ATF as soon as the test finishes.

NFC for any normal shell.   Definitely no pullups.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/bin/sh/show.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index