Fix 1992/buzzard.2 alt code, add try scripts
The bug fix is simply so it can compile. It assumed exit(3) returned a value, not void. The fixes noted in the remarks (though I did not see them at a quick glance) of the author are not in the alt version (that's the purpose of it). The try.sh and try.alt.sh scripts correspond to the entry and the alt code. Updated .gitignore. Added 'first.alt' to Makefile for the try.alt.sh script.
This commit is contained in:
1 parent
d91bced2b8
commit
cda49daa4e
8 files changed
+109
-13
No files matched your search
@@ -1530,6 +1530,16 @@ He also added the [try.sh](/1991/buzzard.1/try.sh) script to try out some
|
||||
commands that we suggested and some additional ones that provide for some fun.
|
||||
|
||||
|
||||
## <a name="1992_buzzard.2"></a>[1992/buzzard.2](/1992/buzzard.2/buzzard.2.c) ([README.md](/1992/buzzard.2/README.md))
|
||||
|
||||
[Cody](#cody) fixed the alt code to compile. The problem was it assumed that
|
||||
`exit(3)` returns a value, not `void`. This was fixed with a `,0`.
|
||||
|
||||
Cody also added the [try.sh](/1992/buzzard.2/try.sh) and
|
||||
[try.alt.sh](/1992/buzzard.2/try.alt.sh) scripts that correspond to the entry
|
||||
and its alt code.
|
||||
|
||||
|
||||
## <a name="1992_gson"></a>[1992/gson](/1992/gson/gson.c) ([README.md](/1992/gson/README.md]))
|
||||
|
||||
[Cody](#cody) fixed a crash that prevented this entry from working in some cases in some
|
||||
|
||||
Reference in new issue
Block a user