about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-21 00:25:00 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-21 00:25:00 -0700
commit22a9035e82f6584e86f0400353f5013029b6a6e1 (patch)
tree70fc45bdf693b62740b895c711d4886dddbd0a8c /subx
parent709e89551459b14a800a7ae0debf627453e2060d (diff)
downloadmu-22a9035e82f6584e86f0400353f5013029b6a6e1.tar.gz
5434
Diffstat (limited to 'subx')
-rwxr-xr-xsubx/apps/assortbin34112 -> 34166 bytes
-rwxr-xr-xsubx/apps/dquotesbin40465 -> 40519 bytes
-rwxr-xr-xsubx/apps/packbin46765 -> 46819 bytes
-rw-r--r--subx/apps/subx-common.subx20
-rwxr-xr-xsubx/apps/surveybin42761 -> 42815 bytes
-rwxr-xr-xsubx/apps/testsbin32925 -> 32979 bytes
6 files changed, 18 insertions, 2 deletions
diff --git a/subx/apps/assort b/subx/apps/assort
index 64ac8cea..0afd810e 100755
--- a/subx/apps/assort
+++ b/subx/apps/assort
Binary files differdiff --git a/subx/apps/dquotes b/subx/apps/dquotes
index eeb0fafb..a97ed285 100755
--- a/subx/apps/dquotes
+++ b/subx/apps/dquotes
Binary files differdiff --git a/subx/apps/pack b/subx/apps/pack
index 352749c4..5c2aba74 100755
--- a/subx/apps/pack
+++ b/subx/apps/pack
Binary files differdiff --git a/subx/apps/subx-common.subx b/subx/apps/subx-common.subx
index 0e5eb63c..962053f7 100644
--- a/subx/apps/subx-common.subx
+++ b/subx/apps/subx-common.subx
@@ -120,6 +120,14 @@ $get:abort:
     e8/call  _write/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
+    # . _write(2/stderr, "\n")
+    # . . push args
+    68/push  "\n"/imm32
+    68/push  2/imm32/stderr
+    # . . call
+    e8/call  _write/disp32
+    # . . discard args
+    81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # . syscall(exit, 1)
     bb/copy-to-EBX  1/imm32
     b8/copy-to-EAX  1/imm32/exit
@@ -289,6 +297,14 @@ $get-slice:abort:
     e8/call  flush/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
+    # . _write(2/stderr, "\n")
+    # . . push args
+    68/push  "\n"/imm32
+    68/push  2/imm32/stderr
+    # . . call
+    e8/call  _write/disp32
+    # . . discard args
+    81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # . syscall(exit, 1)
     bb/copy-to-EBX  1/imm32
     b8/copy-to-EAX  1/imm32/exit
@@ -494,7 +510,7 @@ $get-or-insert:end:
 $get-or-insert:abort:
     # . _write(2/stderr, error)
     # . . push args
-    68/push  "get-or-insert: table is full"/imm32
+    68/push  "get-or-insert: table is full\n"/imm32
     68/push  2/imm32/stderr
     # . . call
     e8/call  _write/disp32
@@ -755,7 +771,7 @@ $leaky-get-or-insert-slice:end:
 $leaky-get-or-insert-slice:abort:
     # . _write(2/stderr, error)
     # . . push args
-    68/push  "leaky-get-or-insert-slice: table is full"/imm32
+    68/push  "leaky-get-or-insert-slice: table is full\n"/imm32
     68/push  2/imm32/stderr
     # . . call
     e8/call  _write/disp32
diff --git a/subx/apps/survey b/subx/apps/survey
index 0b6c2dde..7150b3b4 100755
--- a/subx/apps/survey
+++ b/subx/apps/survey
Binary files differdiff --git a/subx/apps/tests b/subx/apps/tests
index 511d691c..47d45649 100755
--- a/subx/apps/tests
+++ b/subx/apps/tests
Binary files differ