Edilbert / BSA

Bit Shifter's Cross Assembler for 6502, 65C02 and 45GS02 CPU
The Unlicense
29 stars 7 forks source link

Quite often, bsa is not woking #5

Closed markusC64 closed 6 years ago

markusC64 commented 6 years ago

The reason should be line 3332:

Src = MallocOrDie(strlen(argv[ic] + 4 + 1));

I guess you mean

Src = MallocOrDie(strlen(argv[ic]) + 4 + 1);

With this fix, BSA is working much better on windows.

Edilbert commented 6 years ago

fixed

Edilbert commented 6 years ago

Danke Markus für diesen Hinweis. Viele Grüße, Edilbert

Am 24.06.2018 um 12:12 schrieb markusC64 notifications@github.com:

The reason should be line 3332:

Src = MallocOrDie(strlen(argv[ic] + 4 + 1));

I guess you mean

Src = MallocOrDie(strlen(argv[ic]) + 4 + 1);

With this fix, BSA is working much better on windows.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

markusC64 commented 6 years ago

Gerne.

Mit dieser Korrektur ist BSA übrigens "valgind clean" - in der Tat hat "valgrind" unter Linux die Stelle des Fehlers gefunden.