From ca330b00bcec0ff5707ccbdc4e905e41c3dc8c9a Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sun, 14 Feb 2021 20:26:57 -0500 Subject: Patches to patches to clean up patches --- patches/01_hello.patch | 4 ---- patches/02_std.patch | 4 ---- patches/03_assignment.patch | 1 - patches/04_arrays.patch | 1 - patches/05_arrays2.patch | 1 - patches/06_strings.patch | 1 - patches/07_strings2.patch | 1 - patches/08_quiz.patch | 1 - patches/09_if.patch | 1 - patches/10_if2.patch | 1 - patches/11_while.patch | 1 - patches/12_while2.patch | 1 - patches/13_while3.patch | 1 - patches/14_while4.patch | 1 - patches/15_for.patch | 1 - patches/16_for2.patch | 1 - patches/17_quiz2.patch | 1 - patches/18_functions.patch | 1 - patches/19_functions2.patch | 1 - patches/20_quiz3.patch | 1 - patches/21_errors.patch | 1 - patches/22_errors2.patch | 1 - patches/23_errors3.patch | 1 - patches/24_errors4.patch | 1 - patches/25_errors5.patch | 1 - patches/26_hello2.patch | 1 - patches/27_defer.patch | 1 - patches/28_defer2.patch | 1 - patches/29_errdefer.patch | 1 - patches/30_switch.patch | 1 - patches/31_switch2.patch | 1 - patches/32_unreachable.patch | 1 - patches/33_iferror.patch | 1 - patches/34_quiz4.patch | 1 - patches/35_enums.patch | 1 - patches/36_enums2.patch | 1 - patches/37_structs.patch | 1 - patches/38_structs2.patch | 1 - patches/39_pointers.patch | 1 - patches/40_pointers2.patch | 1 - patches/41_pointers3.patch | 1 - patches/42_pointers4.patch | 1 - patches/43_pointers5.patch | 1 - patches/44_quiz5.patch | 1 - patches/45_optionals.patch | 4 ---- patches/README.md | 2 +- patches/eowyn.sh | 8 +++++--- patches/gollum.sh | 2 +- patches/patches/01_hello.patch | 4 ++++ patches/patches/02_std.patch | 4 ++++ patches/patches/03_assignment.patch | 1 + patches/patches/04_arrays.patch | 1 + patches/patches/05_arrays2.patch | 1 + patches/patches/06_strings.patch | 1 + patches/patches/07_strings2.patch | 1 + patches/patches/08_quiz.patch | 1 + patches/patches/09_if.patch | 1 + patches/patches/10_if2.patch | 1 + patches/patches/11_while.patch | 1 + patches/patches/12_while2.patch | 1 + patches/patches/13_while3.patch | 1 + patches/patches/14_while4.patch | 1 + patches/patches/15_for.patch | 1 + patches/patches/16_for2.patch | 1 + patches/patches/17_quiz2.patch | 1 + patches/patches/18_functions.patch | 1 + patches/patches/19_functions2.patch | 1 + patches/patches/20_quiz3.patch | 1 + patches/patches/21_errors.patch | 1 + patches/patches/22_errors2.patch | 1 + patches/patches/23_errors3.patch | 1 + patches/patches/24_errors4.patch | 1 + patches/patches/25_errors5.patch | 1 + patches/patches/26_hello2.patch | 1 + patches/patches/27_defer.patch | 1 + patches/patches/28_defer2.patch | 1 + patches/patches/29_errdefer.patch | 1 + patches/patches/30_switch.patch | 1 + patches/patches/31_switch2.patch | 1 + patches/patches/32_unreachable.patch | 1 + patches/patches/33_iferror.patch | 1 + patches/patches/34_quiz4.patch | 1 + patches/patches/35_enums.patch | 1 + patches/patches/36_enums2.patch | 1 + patches/patches/37_structs.patch | 1 + patches/patches/38_structs2.patch | 1 + patches/patches/39_pointers.patch | 1 + patches/patches/40_pointers2.patch | 1 + patches/patches/41_pointers3.patch | 1 + patches/patches/42_pointers4.patch | 1 + patches/patches/43_pointers5.patch | 1 + patches/patches/44_quiz5.patch | 1 + patches/patches/45_optionals.patch | 1 + 93 files changed, 58 insertions(+), 59 deletions(-) delete mode 100644 patches/01_hello.patch delete mode 100644 patches/02_std.patch delete mode 100644 patches/03_assignment.patch delete mode 100644 patches/04_arrays.patch delete mode 100644 patches/05_arrays2.patch delete mode 100644 patches/06_strings.patch delete mode 100644 patches/07_strings2.patch delete mode 100644 patches/08_quiz.patch delete mode 100644 patches/09_if.patch delete mode 100644 patches/10_if2.patch delete mode 100644 patches/11_while.patch delete mode 100644 patches/12_while2.patch delete mode 100644 patches/13_while3.patch delete mode 100644 patches/14_while4.patch delete mode 100644 patches/15_for.patch delete mode 100644 patches/16_for2.patch delete mode 100644 patches/17_quiz2.patch delete mode 100644 patches/18_functions.patch delete mode 100644 patches/19_functions2.patch delete mode 100644 patches/20_quiz3.patch delete mode 100644 patches/21_errors.patch delete mode 100644 patches/22_errors2.patch delete mode 100644 patches/23_errors3.patch delete mode 100644 patches/24_errors4.patch delete mode 100644 patches/25_errors5.patch delete mode 100644 patches/26_hello2.patch delete mode 100644 patches/27_defer.patch delete mode 100644 patches/28_defer2.patch delete mode 100644 patches/29_errdefer.patch delete mode 100644 patches/30_switch.patch delete mode 100644 patches/31_switch2.patch delete mode 100644 patches/32_unreachable.patch delete mode 100644 patches/33_iferror.patch delete mode 100644 patches/34_quiz4.patch delete mode 100644 patches/35_enums.patch delete mode 100644 patches/36_enums2.patch delete mode 100644 patches/37_structs.patch delete mode 100644 patches/38_structs2.patch delete mode 100644 patches/39_pointers.patch delete mode 100644 patches/40_pointers2.patch delete mode 100644 patches/41_pointers3.patch delete mode 100644 patches/42_pointers4.patch delete mode 100644 patches/43_pointers5.patch delete mode 100644 patches/44_quiz5.patch delete mode 100644 patches/45_optionals.patch create mode 100644 patches/patches/01_hello.patch create mode 100644 patches/patches/02_std.patch create mode 100644 patches/patches/03_assignment.patch create mode 100644 patches/patches/04_arrays.patch create mode 100644 patches/patches/05_arrays2.patch create mode 100644 patches/patches/06_strings.patch create mode 100644 patches/patches/07_strings2.patch create mode 100644 patches/patches/08_quiz.patch create mode 100644 patches/patches/09_if.patch create mode 100644 patches/patches/10_if2.patch create mode 100644 patches/patches/11_while.patch create mode 100644 patches/patches/12_while2.patch create mode 100644 patches/patches/13_while3.patch create mode 100644 patches/patches/14_while4.patch create mode 100644 patches/patches/15_for.patch create mode 100644 patches/patches/16_for2.patch create mode 100644 patches/patches/17_quiz2.patch create mode 100644 patches/patches/18_functions.patch create mode 100644 patches/patches/19_functions2.patch create mode 100644 patches/patches/20_quiz3.patch create mode 100644 patches/patches/21_errors.patch create mode 100644 patches/patches/22_errors2.patch create mode 100644 patches/patches/23_errors3.patch create mode 100644 patches/patches/24_errors4.patch create mode 100644 patches/patches/25_errors5.patch create mode 100644 patches/patches/26_hello2.patch create mode 100644 patches/patches/27_defer.patch create mode 100644 patches/patches/28_defer2.patch create mode 100644 patches/patches/29_errdefer.patch create mode 100644 patches/patches/30_switch.patch create mode 100644 patches/patches/31_switch2.patch create mode 100644 patches/patches/32_unreachable.patch create mode 100644 patches/patches/33_iferror.patch create mode 100644 patches/patches/34_quiz4.patch create mode 100644 patches/patches/35_enums.patch create mode 100644 patches/patches/36_enums2.patch create mode 100644 patches/patches/37_structs.patch create mode 100644 patches/patches/38_structs2.patch create mode 100644 patches/patches/39_pointers.patch create mode 100644 patches/patches/40_pointers2.patch create mode 100644 patches/patches/41_pointers3.patch create mode 100644 patches/patches/42_pointers4.patch create mode 100644 patches/patches/43_pointers5.patch create mode 100644 patches/patches/44_quiz5.patch create mode 100644 patches/patches/45_optionals.patch (limited to 'patches') diff --git a/patches/01_hello.patch b/patches/01_hello.patch deleted file mode 100644 index fb360a7..0000000 --- a/patches/01_hello.patch +++ /dev/null @@ -1,4 +0,0 @@ -19c19 -< fn main() void { ---- -> pub fn main() void { diff --git a/patches/02_std.patch b/patches/02_std.patch deleted file mode 100644 index 6c97adb..0000000 --- a/patches/02_std.patch +++ /dev/null @@ -1,4 +0,0 @@ -14c14 -< ??? = @import("std"); ---- -> const std = @import("std"); diff --git a/patches/03_assignment.patch b/patches/03_assignment.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/03_assignment.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/04_arrays.patch b/patches/04_arrays.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/04_arrays.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/05_arrays2.patch b/patches/05_arrays2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/05_arrays2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/06_strings.patch b/patches/06_strings.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/06_strings.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/07_strings2.patch b/patches/07_strings2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/07_strings2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/08_quiz.patch b/patches/08_quiz.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/08_quiz.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/09_if.patch b/patches/09_if.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/09_if.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/10_if2.patch b/patches/10_if2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/10_if2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/11_while.patch b/patches/11_while.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/11_while.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/12_while2.patch b/patches/12_while2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/12_while2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/13_while3.patch b/patches/13_while3.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/13_while3.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/14_while4.patch b/patches/14_while4.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/14_while4.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/15_for.patch b/patches/15_for.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/15_for.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/16_for2.patch b/patches/16_for2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/16_for2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/17_quiz2.patch b/patches/17_quiz2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/17_quiz2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/18_functions.patch b/patches/18_functions.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/18_functions.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/19_functions2.patch b/patches/19_functions2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/19_functions2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/20_quiz3.patch b/patches/20_quiz3.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/20_quiz3.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/21_errors.patch b/patches/21_errors.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/21_errors.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/22_errors2.patch b/patches/22_errors2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/22_errors2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/23_errors3.patch b/patches/23_errors3.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/23_errors3.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/24_errors4.patch b/patches/24_errors4.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/24_errors4.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/25_errors5.patch b/patches/25_errors5.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/25_errors5.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/26_hello2.patch b/patches/26_hello2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/26_hello2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/27_defer.patch b/patches/27_defer.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/27_defer.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/28_defer2.patch b/patches/28_defer2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/28_defer2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/29_errdefer.patch b/patches/29_errdefer.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/29_errdefer.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/30_switch.patch b/patches/30_switch.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/30_switch.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/31_switch2.patch b/patches/31_switch2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/31_switch2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/32_unreachable.patch b/patches/32_unreachable.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/32_unreachable.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/33_iferror.patch b/patches/33_iferror.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/33_iferror.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/34_quiz4.patch b/patches/34_quiz4.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/34_quiz4.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/35_enums.patch b/patches/35_enums.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/35_enums.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/36_enums2.patch b/patches/36_enums2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/36_enums2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/37_structs.patch b/patches/37_structs.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/37_structs.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/38_structs2.patch b/patches/38_structs2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/38_structs2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/39_pointers.patch b/patches/39_pointers.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/39_pointers.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/40_pointers2.patch b/patches/40_pointers2.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/40_pointers2.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/41_pointers3.patch b/patches/41_pointers3.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/41_pointers3.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/42_pointers4.patch b/patches/42_pointers4.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/42_pointers4.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/43_pointers5.patch b/patches/43_pointers5.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/43_pointers5.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/44_quiz5.patch b/patches/44_quiz5.patch deleted file mode 100644 index 8b13789..0000000 --- a/patches/44_quiz5.patch +++ /dev/null @@ -1 +0,0 @@ - diff --git a/patches/45_optionals.patch b/patches/45_optionals.patch deleted file mode 100644 index c945b5a..0000000 --- a/patches/45_optionals.patch +++ /dev/null @@ -1,4 +0,0 @@ -32c32 -< var answer: u8 = result; ---- -> var answer: u8 = result orelse 42; diff --git a/patches/README.md b/patches/README.md index 0a4e8e0..b3249fa 100644 --- a/patches/README.md +++ b/patches/README.md @@ -8,7 +8,7 @@ answers are here, so no peeking! ## Éowyn A Bash shell script named `eowyn.sh` dwells here. She heals the little broken -programs and places them in a `healed` directory, which is not committed to the +programs and places them in a `healed` directory, which is NOT committed to the repo. ```bash diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 53b87d2..5a802f6 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -25,16 +25,18 @@ for broken in ../exercises/*.zig do # Remove the dir and extension, rendering the True Name. true_name=$(basename $broken .zig) + patch_name="patches/$true_name.patch" - if [[ -f $true_name.patch ]] + + if [[ -f $patch_name ]] then # Apply the bandages to the wounds, grow new limbs, let # new life spring into the broken bodies of the fallen. echo Healing $true_name... - patch --output=healed/$true_name.zig $broken $true_name.patch + patch --output=healed/$true_name.zig $broken $patch_name else echo Cannot heal $true_name. Making empty patch. - echo > $true_name.patch + echo > $patch_name fi done diff --git a/patches/gollum.sh b/patches/gollum.sh index 78c7756..423d376 100755 --- a/patches/gollum.sh +++ b/patches/gollum.sh @@ -10,7 +10,7 @@ cd $(dirname $(which $0)) f=$(basename ../exercises/$1*.zig .zig 2> /dev/null) b=../exercises/$f.zig a=../answers/$f.zig -p=$f.patch +p=patches/$f.patch printf "\tf: '$f'\n\tb: '$b'\n\ta: '$a'\n" diff --git a/patches/patches/01_hello.patch b/patches/patches/01_hello.patch new file mode 100644 index 0000000..fb360a7 --- /dev/null +++ b/patches/patches/01_hello.patch @@ -0,0 +1,4 @@ +19c19 +< fn main() void { +--- +> pub fn main() void { diff --git a/patches/patches/02_std.patch b/patches/patches/02_std.patch new file mode 100644 index 0000000..6c97adb --- /dev/null +++ b/patches/patches/02_std.patch @@ -0,0 +1,4 @@ +14c14 +< ??? = @import("std"); +--- +> const std = @import("std"); diff --git a/patches/patches/03_assignment.patch b/patches/patches/03_assignment.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/03_assignment.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/04_arrays.patch b/patches/patches/04_arrays.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/04_arrays.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/05_arrays2.patch b/patches/patches/05_arrays2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/05_arrays2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/06_strings.patch b/patches/patches/06_strings.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/06_strings.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/07_strings2.patch b/patches/patches/07_strings2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/07_strings2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/08_quiz.patch b/patches/patches/08_quiz.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/08_quiz.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/09_if.patch b/patches/patches/09_if.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/09_if.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/10_if2.patch b/patches/patches/10_if2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/10_if2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/11_while.patch b/patches/patches/11_while.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/11_while.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/12_while2.patch b/patches/patches/12_while2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/12_while2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/13_while3.patch b/patches/patches/13_while3.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/13_while3.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/14_while4.patch b/patches/patches/14_while4.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/14_while4.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/15_for.patch b/patches/patches/15_for.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/15_for.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/16_for2.patch b/patches/patches/16_for2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/16_for2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/17_quiz2.patch b/patches/patches/17_quiz2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/17_quiz2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/18_functions.patch b/patches/patches/18_functions.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/18_functions.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/19_functions2.patch b/patches/patches/19_functions2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/19_functions2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/20_quiz3.patch b/patches/patches/20_quiz3.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/20_quiz3.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/21_errors.patch b/patches/patches/21_errors.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/21_errors.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/22_errors2.patch b/patches/patches/22_errors2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/22_errors2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/23_errors3.patch b/patches/patches/23_errors3.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/23_errors3.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/24_errors4.patch b/patches/patches/24_errors4.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/24_errors4.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/25_errors5.patch b/patches/patches/25_errors5.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/25_errors5.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/26_hello2.patch b/patches/patches/26_hello2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/26_hello2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/27_defer.patch b/patches/patches/27_defer.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/27_defer.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/28_defer2.patch b/patches/patches/28_defer2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/28_defer2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/29_errdefer.patch b/patches/patches/29_errdefer.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/29_errdefer.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/30_switch.patch b/patches/patches/30_switch.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/30_switch.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/31_switch2.patch b/patches/patches/31_switch2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/31_switch2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/32_unreachable.patch b/patches/patches/32_unreachable.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/32_unreachable.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/33_iferror.patch b/patches/patches/33_iferror.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/33_iferror.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/34_quiz4.patch b/patches/patches/34_quiz4.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/34_quiz4.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/35_enums.patch b/patches/patches/35_enums.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/35_enums.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/36_enums2.patch b/patches/patches/36_enums2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/36_enums2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/37_structs.patch b/patches/patches/37_structs.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/37_structs.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/38_structs2.patch b/patches/patches/38_structs2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/38_structs2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/39_pointers.patch b/patches/patches/39_pointers.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/39_pointers.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/40_pointers2.patch b/patches/patches/40_pointers2.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/40_pointers2.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/41_pointers3.patch b/patches/patches/41_pointers3.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/41_pointers3.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/42_pointers4.patch b/patches/patches/42_pointers4.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/42_pointers4.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/43_pointers5.patch b/patches/patches/43_pointers5.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/43_pointers5.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/44_quiz5.patch b/patches/patches/44_quiz5.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/44_quiz5.patch @@ -0,0 +1 @@ + diff --git a/patches/patches/45_optionals.patch b/patches/patches/45_optionals.patch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/patches/patches/45_optionals.patch @@ -0,0 +1 @@ + -- cgit v1.2.3-70-g09d2