aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2022-07-31 15:57:20 -0400
committerDave Gauer <dave@ratfactor.com>2022-07-31 15:58:24 -0400
commitb8617bb7527d39874b507a4c25bdaa8b6c4f4c3f (patch)
tree13bcaa129e879d2d97e71f48cc061642a3cfef4a /patches
parent0e64778f3c27a4b42cc94f12c8c7029daed1bd8a (diff)
downloadziglings-b8617bb7527d39874b507a4c25bdaa8b6c4f4c3f.tar.gz
ziglings-b8617bb7527d39874b507a4c25bdaa8b6c4f4c3f.tar.bz2
ziglings-b8617bb7527d39874b507a4c25bdaa8b6c4f4c3f.tar.xz
ziglings-b8617bb7527d39874b507a4c25bdaa8b6c4f4c3f.zip
Correct conventional Zig reference vs value passing re #89
Diffstat (limited to 'patches')
-rwxr-xr-xpatches/gollum.sh4
-rw-r--r--patches/patches/042_pointers4.patch2
-rw-r--r--patches/patches/043_pointers5.patch2
3 files changed, 5 insertions, 3 deletions
diff --git a/patches/gollum.sh b/patches/gollum.sh
index 495aa44..74f7626 100755
--- a/patches/gollum.sh
+++ b/patches/gollum.sh
@@ -22,7 +22,9 @@ p=patches/patches/$f.patch
if [ ! -f $b ]; then echo "No $f! We hates it!"; exit 1; fi
if [ ! -f $a ]; then echo "No $a! Where is it? Where is the answer, precious?"; exit; fi
-echo "Hissss!\tbefore: '$b'\n\t after: '$a'\n\t patch: '$p'\n"
+echo "Hissss! before: '$b'"
+echo " after: '$a'"
+echo " patch: '$p'"
diff $b $a > $p
diff --git a/patches/patches/042_pointers4.patch b/patches/patches/042_pointers4.patch
index 29ca2d0..8e21b81 100644
--- a/patches/patches/042_pointers4.patch
+++ b/patches/patches/042_pointers4.patch
@@ -1,4 +1,4 @@
-31c31
+40c40
< ??? = 5; // fix me!
---
> x.* = 5; // fix me!
diff --git a/patches/patches/043_pointers5.patch b/patches/patches/043_pointers5.patch
index 8a73551..ac6a8ca 100644
--- a/patches/patches/043_pointers5.patch
+++ b/patches/patches/043_pointers5.patch
@@ -1,4 +1,4 @@
-60c60
+71c71
< printCharacter(???);
---
> printCharacter(&glorp);