From 370a8b01982a526b9cde383ea7b33c274a9a2306 Mon Sep 17 00:00:00 2001 From: Koichi Nakamura Date: Sat, 1 Jan 2022 15:43:24 +0900 Subject: [PATCH] fix a bug and export strncpy --- bootstrap.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.fs b/bootstrap.fs index e956215..3f29103 100644 --- a/bootstrap.fs +++ b/bootstrap.fs @@ -2716,7 +2716,7 @@ variable included-list 2rot -2rot 2tuck 2over 2nip 2swap 2dup 2drop 3dup 3drop depth rp0 rp@ rp! r> >r r@ rdrop rpick rdepth - allocate free allot memcpy strlen streq strneq strcpy strcpy, + allocate free allot memcpy strlen streq strneq strcpy strncpy, cell cell+ cell- cells char+ char- chars align aligned +! -! if else then unless begin until again while repeat