summaryrefslogtreecommitdiffstats
path: root/sys/boot/forth/loader.4th
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-12-11 00:49:34 +0000
committerjhb <jhb@FreeBSD.org>2001-12-11 00:49:34 +0000
commit8c6afa35bea1a5ea8a94a3c60d1988999cb41bcc (patch)
tree3d16cb8ac2303ccc50640d839778a81b153c89ec /sys/boot/forth/loader.4th
parent991ffbae5691ddb93149381b3c23fcf0763b63bd (diff)
downloadFreeBSD-src-8c6afa35bea1a5ea8a94a3c60d1988999cb41bcc.zip
FreeBSD-src-8c6afa35bea1a5ea8a94a3c60d1988999cb41bcc.tar.gz
- Add 'fwrite' and 'fseek' words for writing to and seeking on files.
- Change the 'fopen' keyword to accept a mode parameter. Note that this will break existing 4th scripts that use fopen. Thus, the loader version has been bumped and loader.4th has been changed to check for a sufficient version on i386 and alpha. Be sure that you either do a full world build or install or full build and install of sys/boot after this since loader.old won't work with the new 4th files and vice versa. PR: kern/32389 Submitted by: Jonathan Mini <mini@haikugeek.com> Sponsored by: ClickArray, Inc.
Diffstat (limited to 'sys/boot/forth/loader.4th')
-rw-r--r--sys/boot/forth/loader.4th8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/forth/loader.4th b/sys/boot/forth/loader.4th
index f4d7666..3349c1f 100644
--- a/sys/boot/forth/loader.4th
+++ b/sys/boot/forth/loader.4th
@@ -26,8 +26,8 @@
s" arch-alpha" environment? [if] [if]
s" loader_version" environment? [if]
- 11 < [if]
- .( Loader version 1.1+ required) cr
+ 12 < [if]
+ .( Loader version 1.2+ required) cr
abort
[then]
[else]
@@ -38,8 +38,8 @@ s" arch-alpha" environment? [if] [if]
s" arch-i386" environment? [if] [if]
s" loader_version" environment? [if]
- 10 < [if]
- .( Loader version 1.0+ required) cr
+ 11 < [if]
+ .( Loader version 1.1+ required) cr
abort
[then]
[else]
OpenPOWER on IntegriCloud