Remove a bogus increment of %di when scanning the list of loader paths.
%di will already point to the character after the nul char when the 'repnz scasb' terminates. Submitted by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com
This commit is contained in:
parent
336b13de5f
commit
61666a56bf
@ -151,7 +151,6 @@ lookup_path: push %si # Save file name pointer
|
||||
mov $0xffff,%cx # path name by
|
||||
repnz # scanning for
|
||||
scasb # nul char
|
||||
inc %di # Skip nul
|
||||
mov %di,%si # Point %si at next path
|
||||
mov (%si),%al # Get first char of next path
|
||||
or %al,%al # Is it double nul?
|
||||
|
Loading…
Reference in New Issue
Block a user