Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 04:16:14 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r331341 - head/stand/forth
Message-ID:  <201803220416.w2M4GEWH006376@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Thu Mar 22 04:16:14 2018
New Revision: 331341
URL: https://svnweb.freebsd.org/changeset/base/331341

Log:
  forthloader: Don't break BIOS boots...
  
  I thought I tested this scenario, but clearly I failed to. =(
  
  BIOS boots won't have efi-autoresizecons, so trying to use it as a forth
  word fails during include. Use evaluate on "efi-autoresizecons" as a string
  instead to move any potential errors to runtime- safely after we've already
  checked that we're booting UEFI.
  
  Pointy hat to:	me
  Reported by:	cy

Modified:
  head/stand/forth/efi.4th

Modified: head/stand/forth/efi.4th
==============================================================================
--- head/stand/forth/efi.4th	Thu Mar 22 02:04:57 2018	(r331340)
+++ head/stand/forth/efi.4th	Thu Mar 22 04:16:14 2018	(r331341)
@@ -34,7 +34,7 @@ only forth definitions
 
 : maybe-efi-resizecons
 	efiboot? if
-		efi-autoresizecons
+		s" efi-autoresizecons" evaluate
 	then
 ;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803220416.w2M4GEWH006376>