[OpenBIOS] [commit] r735 - trunk/openbios-devel/forth/system
repository service
svn at openbios.org
Mon Apr 5 21:19:37 CEST 2010
Author: mcayland
Date: Mon Apr 5 21:19:37 2010
New Revision: 735
URL: http://tracker.coreboot.org/trac/openbios/changeset/735
Log:
Fix incorrect stack (dropping one too many items) when a phandle of 0 is passed into getprop CIF.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>
Modified:
trunk/openbios-devel/forth/system/ciface.fs
Modified: trunk/openbios-devel/forth/system/ciface.fs
==============================================================================
--- trunk/openbios-devel/forth/system/ciface.fs Mon Apr 5 20:41:11 2010 (r734)
+++ trunk/openbios-devel/forth/system/ciface.fs Mon Apr 5 21:19:37 2010 (r735)
@@ -92,7 +92,7 @@
then
\ return -1 if phandle is 0 (MacOS actually does this)
- ?dup 0= if 2drop 2drop -1 exit then
+ ?dup 0= if drop 2drop -1 exit then
over cstrlen swap
?phandle get-package-property if 2drop -1 exit then
More information about the OpenBIOS
mailing list