]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Remove remnants to compile out fc completely
authorJilles Tjoelker <jilles@FreeBSD.org>
Wed, 22 Apr 2020 21:45:43 +0000 (21:45 +0000)
committerJilles Tjoelker <jilles@FreeBSD.org>
Wed, 22 Apr 2020 21:45:43 +0000 (21:45 +0000)
commitda06ef25e65597c24daafba4e36a559207383441
treeebe63b20618a63d78788758b5cd25ce009f68450
parent8262311cbe7491c50be9a815951f56ce7b73ad06
sh: Remove remnants to compile out fc completely

r360139 made compiling with NO_HISTORY work. This #define does not remove
the fc and bind builtins completely but makes them always write an error
message.

However, there was also some code in builtins.def and mkbuiltins to remove
the fc builtin entirely (but not the bind builtin). The additional build
system complication to make this work seems not worth it, so remove that
code.
bin/sh/builtins.def
bin/sh/mkbuiltins