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: Sat Apr 18 09:37:52 UTC 2026
Modified Files:
src/bin/sh: expand.c jobs.c parser.c parser.h show.c
Log Message:
Finally retire the ancient LINENO hack
The original implementation of the POSIX required LINENO variable
was a hideous hack, which didn't really work. That was replaced
in 2017, but the code for the hack was left present in case it was
needed - with the enabling code #if'd out, but all the rest of the
code unchanged - just impossible to be executed any more.
This removes all of that ancient code (including that which
was #if'd away), /bin/sh will get slightly smaller, and perhaps
unmeasurably faster, there should be no other differences.
To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 src/bin/sh/expand.c
cvs rdiff -u -r1.124 -r1.125 src/bin/sh/jobs.c
cvs rdiff -u -r1.186 -r1.187 src/bin/sh/parser.c
cvs rdiff -u -r1.32 -r1.33 src/bin/sh/parser.h
cvs rdiff -u -r1.59 -r1.60 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