Core: fix the not found error when type the kernel name without the extent.
authorLiu Aleaxander <Aleaxander@gmail.com>
Fri, 12 Jun 2009 07:45:52 +0000 (15:45 +0800)
committerLiu Aleaxander <Aleaxander@gmail.com>
Fri, 12 Jun 2009 07:45:52 +0000 (15:45 +0800)
commite67a28c273880755946de097a24bf6d739bd3c5a
tree243aa2ab73e9be63b6accbf279c27b4458aa13f0
parente717ad300fae15ac8357c67fad90c0cdcb191b96
Core: fix the not found error when type the kernel name without the extent.

it will not clear the zf flag when not found the right file, so it will give the
next file search(searching for a different filename extentsion the wrong answer,
so we need do it after every file searching.

well, in fact we should use EAX(the file lenght in bytes) or si(the open_file_t
structure pointer) to indicate if we have successfully found the file or not.
core/fs.c