pcawte / AgDev

Port to Agon Light of TI-84-CE C/C++ Toolchain which uses LLVM and generates eZ80 ADL code
GNU Lesser General Public License v3.0
40 stars 10 forks source link

strncasecmp incorrect implementation? #24

Open bradleysmith opened 2 weeks ago

bradleysmith commented 2 weeks ago

Calling strncasecmp("foo", "foo", 3) returns -278784.

Should return 0;

Tested on real Agon device.

calc84maniac commented 2 weeks ago

This was a bug in the CE toolchain, tracked here: https://github.com/CE-Programming/toolchain/issues/479

At the moment, you'll have to base your AgDev installation off of the CE toolchain nightly version to get this fix.