]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Remove remnants to compile out fc completely
authorjilles <jilles@FreeBSD.org>
Wed, 22 Apr 2020 21:45:43 +0000 (21:45 +0000)
committerjilles <jilles@FreeBSD.org>
Wed, 22 Apr 2020 21:45:43 +0000 (21:45 +0000)
commit9c4155f1b8c33c39b9fa61ce950f41e7acbf4383
treeebe63b20618a63d78788758b5cd25ce009f68450
parent38c63fc79683cc4015dd701455e13bc8eb39fddb
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