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:           Sun Mar 22 20:27:42 UTC 2026

Modified Files:
        src/bin/sh: shell.h

Log Message:
Add DEBUG_ONLY() to include anything in DEBUG code

DEBUG_ONLY(x) expands to its arg, which should not contain commas
(outside parens) only in DEBUG mode compiles, most useful for var
declarations, and similar.  Nb: code only, not outside functions.

Some cleanups/additions to comments.

By itself, this is a NFC change (until something uses DEBUG_ONLY()
for DEBUG mode code alteration).


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/bin/sh/shell.h

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