mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 16:09:31 +02:00
* rtl/m68k/m68k.inc, move:
add a check for "count = 0" which happens e.g. inside of System.Assign if called with '' as filename (which is the case inside OpenStdIO) git-svn-id: trunk@22841 -
This commit is contained in:
parent
842bb90283
commit
58d9b0853c
@ -249,6 +249,8 @@ begin
|
||||
asm
|
||||
clr.l d0
|
||||
move.l 16(a6),d0 { number of bytes }
|
||||
tst.l d0 { anything to copy at all? }
|
||||
beq @LMOVE5
|
||||
@LMOVE0:
|
||||
move.l 12(a6),a1 { destination }
|
||||
move.l 8(a6),a0 { source }
|
||||
|
Loading…
Reference in New Issue
Block a user