From 402b024982af7c2fae3857b607f2988dc805baf6 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Fri, 4 Nov 2022 20:00:47 +0100 Subject: [PATCH] lib: mes/write: Rename from mes/mini-write.c * lib/mes/mini-write.c: Move to... * lib/mes/write.c: ...here. * build-aux/configure-lib.sh, kaem.run, scaffold/argv.kaem, scaffold/global-array.kaem, scaffold/hello.kaem, scaffold/local-array.kaem, scaffold/local-static-array.kaem, scaffold/read.kaem, simple.make, simple.sh: Update accordingly. --- build-aux/configure-lib.sh | 2 +- kaem.run | 2 +- lib/mes/{mini-write.c => write.c} | 0 scaffold/argv.kaem | 2 +- scaffold/global-array.kaem | 2 +- scaffold/hello.kaem | 2 +- scaffold/local-array.kaem | 2 +- scaffold/local-static-array.kaem | 2 +- scaffold/read.kaem | 2 +- simple.make | 2 +- simple.sh | 8 ++++---- 11 files changed, 13 insertions(+), 13 deletions(-) rename lib/mes/{mini-write.c => write.c} (100%) diff --git a/build-aux/configure-lib.sh b/build-aux/configure-lib.sh index 609dcaff..7d1f9417 100644 --- a/build-aux/configure-lib.sh +++ b/build-aux/configure-lib.sh @@ -74,7 +74,7 @@ libc_mini_SOURCES="$libc_mini_shared_SOURCES" if test $mes_libc = mes; then libc_mini_SOURCES="$libc_mini_SOURCES -lib/mes/mini-write.c +lib/mes/write.c " fi diff --git a/kaem.run b/kaem.run index 1d8df90b..0b4a494a 100644 --- a/kaem.run +++ b/kaem.run @@ -35,7 +35,7 @@ M2-Planet \ -f lib/mes/globals.c \ -f lib/m2/cast.c \ -f lib/m2/exit.c \ - -f lib/mes/mini-write.c \ + -f lib/mes/write.c \ -f lib/linux/${mes_cpu}-mes-m2/syscall.c \ -f include/linux/${mes_cpu}/syscall.h \ -f lib/stub/__raise.c \ diff --git a/lib/mes/mini-write.c b/lib/mes/write.c similarity index 100% rename from lib/mes/mini-write.c rename to lib/mes/write.c diff --git a/scaffold/argv.kaem b/scaffold/argv.kaem index 6f29b008..8f3dfc51 100644 --- a/scaffold/argv.kaem +++ b/scaffold/argv.kaem @@ -32,7 +32,7 @@ M2-Planet \ -f lib/linux/${mes_cpu}-mes-m2/_exit.c \ -f lib/linux/${mes_cpu}-mes-m2/_write.c \ -f lib/string/strlen.c \ - -f lib/mes/mini-write.c \ + -f lib/mes/write.c \ -f lib/mes/eputs.c \ -f lib/string/strcmp.c \ -f scaffold/argv.c \ diff --git a/scaffold/global-array.kaem b/scaffold/global-array.kaem index 121488df..0eee8336 100644 --- a/scaffold/global-array.kaem +++ b/scaffold/global-array.kaem @@ -30,7 +30,7 @@ M2-Planet \ -f lib/mes/globals.c \ -f lib/linux/${mes_cpu}-mes-m2/_exit.c \ -f lib/linux/${mes_cpu}-mes-m2/_write.c \ - -f lib/mes/mini-write.c \ + -f lib/mes/write.c \ -f lib/string/strlen.c \ -f lib/string/strcpy.c \ -f lib/mes/eputs.c \ diff --git a/scaffold/hello.kaem b/scaffold/hello.kaem index a0eae1ff..24aff5e0 100644 --- a/scaffold/hello.kaem +++ b/scaffold/hello.kaem @@ -32,7 +32,7 @@ M2-Planet \ -f lib/linux/${mes_cpu}-mes-m2/_exit.c \ -f lib/linux/${mes_cpu}-mes-m2/_write.c \ -f lib/string/strlen.c \ - -f lib/mes/mini-write.c \ + -f lib/mes/write.c \ -f lib/mes/eputs.c \ -f scaffold/hello.c \ -o scaffold/hello.M1 diff --git a/scaffold/local-array.kaem b/scaffold/local-array.kaem index 164877ba..dad4f917 100644 --- a/scaffold/local-array.kaem +++ b/scaffold/local-array.kaem @@ -30,7 +30,7 @@ M2-Planet \ -f lib/mes/globals.c \ -f lib/linux/${mes_cpu}-mes-m2/_exit.c \ -f lib/linux/${mes_cpu}-mes-m2/_write.c \ - -f lib/mes/mini-write.c \ + -f lib/mes/write.c \ -f lib/string/strlen.c \ -f lib/string/strcpy.c \ -f lib/mes/eputs.c \ diff --git a/scaffold/local-static-array.kaem b/scaffold/local-static-array.kaem index 0878f41f..3b537d09 100644 --- a/scaffold/local-static-array.kaem +++ b/scaffold/local-static-array.kaem @@ -30,7 +30,7 @@ M2-Planet \ -f lib/mes/globals.c \ -f lib/linux/${mes_cpu}-mes-m2/_exit.c \ -f lib/linux/${mes_cpu}-mes-m2/_write.c \ - -f lib/mes/mini-write.c \ + -f lib/mes/write.c \ -f lib/string/strlen.c \ -f lib/string/strcpy.c \ -f lib/mes/eputs.c \ diff --git a/scaffold/read.kaem b/scaffold/read.kaem index b29cf1f8..afddc146 100644 --- a/scaffold/read.kaem +++ b/scaffold/read.kaem @@ -35,7 +35,7 @@ M2-Planet \ -f include/linux/${mes_cpu}/syscall.h \ -f lib/m2/cast.c \ -f lib/string/strlen.c \ - -f lib/mes/mini-write.c \ + -f lib/mes/write.c \ -f lib/mes/eputs.c \ -f lib/linux/brk.c \ -f lib/m2/malloc.c \ diff --git a/simple.make b/simple.make index dcfcb1a8..8da48c3e 100644 --- a/simple.make +++ b/simple.make @@ -79,7 +79,7 @@ M2_SOURCES = \ lib/mes/globals.c \ lib/m2/cast.c \ lib/m2/exit.c \ - lib/mes/mini-write.c \ + lib/mes/write.c \ lib/linux/x86-mes-m2/syscall.c \ lib/stub/__raise.c \ lib/linux/brk.c \ diff --git a/simple.sh b/simple.sh index fc5ac371..70ddb211 100755 --- a/simple.sh +++ b/simple.sh @@ -109,7 +109,7 @@ MES_DEBUG=3 MES_ARENA=10000 MES_MAX_ARENA=10000 MES_BOOT=tests/gc.test out-syste # lib/linux/$mes_cpu-mes-mescc/_write.c\ # \ # lib/mes/globals.c\ -# lib/mes/mini-write.c\ +# lib/mes/write.c\ # lib/string/strlen.c\ # \ # scaffold/hello.c @@ -123,7 +123,7 @@ cat \ lib/linux/$mes_cpu-mes-mescc/_write.c \ \ lib/mes/globals.c \ - lib/mes/mini-write.c \ + lib/mes/write.c \ lib/string/strlen.c \ \ scaffold/hello.c \ @@ -313,7 +313,7 @@ MES_DEBUG=3 MES_ARENA=10000 MES_MAX_ARENA=10000 MES_BOOT=tests/gc.test out-mes/m # lib/linux/$mes_cpu-mes-mescc/_write.c\ # \ # lib/mes/globals.c\ -# lib/mes/mini-write.c\ +# lib/mes/write.c\ # lib/string/strlen.c\ # \ # scaffold/hello.c @@ -327,7 +327,7 @@ cat \ lib/linux/$mes_cpu-mes-mescc/_write.c \ \ lib/mes/globals.c \ - lib/mes/mini-write.c \ + lib/mes/write.c \ lib/string/strlen.c \ \ scaffold/hello.c \