svn commit: r300146 - head/sys/boot/common

Warner Losh imp at FreeBSD.org
Wed May 18 14:09:57 UTC 2016


Author: imp
Date: Wed May 18 14:09:56 2016
New Revision: 300146
URL: https://svnweb.freebsd.org/changeset/base/300146

Log:
  Also add comment about the bug I comments in the forth.

Modified:
  head/sys/boot/common/commands.c

Modified: head/sys/boot/common/commands.c
==============================================================================
--- head/sys/boot/common/commands.c	Wed May 18 13:21:29 2016	(r300145)
+++ head/sys/boot/common/commands.c	Wed May 18 14:09:56 2016	(r300146)
@@ -211,6 +211,14 @@ command_help(int argc, char *argv[]) 
 
 COMMAND_SET(commandlist, "?", "list commands", command_commandlist);
 
+/*
+ * Please note: although we use the pager for the list of commands,
+ * this routine is called from the ? FORTH function which then
+ * unconditionally prints some commands. This will lead to anomalous
+ * behavior. There's no 'pager_output' binding to FORTH to allow
+ * things to work right, so I'm documenting the bug rather than
+ * fixnig it.
+ */
 static int
 command_commandlist(int argc, char *argv[])
 {


More information about the svn-src-head mailing list