https://github.com/jrincayc/ucblogo-code
Revision b2227ae71f14b631a8e1c9fead6fed7f2db2f6e6 authored by Dan Malec on 13 November 2020, 01:06:03 UTC, committed by Dan Malec on 13 November 2020, 02:04:05 UTC
On Raspberry Pi (ARM), converting the int output of getc to char and then back to int results in the EOF character being represented as 255 instead of -1. This causes infinite loops when attempting to detect the end of input from the editor.
1 parent a7bd4e1
Tip revision: b2227ae71f14b631a8e1c9fead6fed7f2db2f6e6 authored by Dan Malec on 13 November 2020, 01:06:03 UTC
ISSUE-67: Pass the output of getc as int.
ISSUE-67: Pass the output of getc as int.
Tip revision: b2227ae
File | Mode | Size |
---|---|---|
Makefile.am | -rw-r--r-- | 221 bytes |
UnitTests-Arithmetic.lg | -rw-r--r-- | 4.2 KB |
UnitTests-Bitwise.lg | -rw-r--r-- | 2.4 KB |
UnitTests-Constructors.lg | -rw-r--r-- | 2.9 KB |
UnitTests-Macros.lg | -rw-r--r-- | 2.2 KB |
UnitTests-MemMgr.lg | -rw-r--r-- | 2.0 KB |
UnitTests-OOP.lg | -rw-r--r-- | 10.1 KB |
UnitTests-Predicates.lg | -rw-r--r-- | 2.4 KB |
UnitTests-Random.lg | -rw-r--r-- | 1.4 KB |
UnitTests.lg | -rw-r--r-- | 3.0 KB |
_how-to.txt | -rw-r--r-- | 422 bytes |
_suite-template.lg | -rw-r--r-- | 1.4 KB |
Computing file changes ...