cc65 / cc65

cc65 - a freeware C compiler for 6502 based systems

Home Page:https://cc65.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test_gets.c fails on windows

mrdudz opened this issue · comments

what the topic says. must be a LF vs CRLF problem - not sure how to fix it :)

@colinleroy could you have a look?

That's probably that. We don't want to fix it in the runtime of course so let me find an idea to #ifdef the test :)

Sent a tentative PR. If that does not work, can you send the output of

cd test/ref
./testwrk/ref/test_gets.host

and

cd test/ref
../../bin/sim65 -x 200000000 ../../testwrk/ref/test_gets.g.6502.prg

They should be the same, of course, and be the same as test/ref/cf.in, only with no newlines.