d5b5505013
Two variables named 'result' were defined, at the outer level a UBYTE to hold the function return value and the inner a COUNT to hold returns from 'truename()'. The overall function return value was always FCB_SUCCESS due to shadowing, however removing the inner variable definition as a fix does not work due to sign issues and intermixing of the variable uses, so rename the inner variable. Tested this patch using FDPP platform 1/ Simple rename of file with conditions for success (ok) 2/ Simple rename of file with conditions for failure - source missing (ok) 3/ Simple rename of file with conditions for failure - target exists (ok) Fixes #16 |
||
---|---|---|
bin | ||
boot | ||
docs | ||
drivers | ||
hdr | ||
kernel | ||
lib | ||
mkfiles | ||
share | ||
sys | ||
tests/absread | ||
utils | ||
.gitattributes | ||
.gitignore | ||
MAKEPKGS.BAT | ||
README.md | ||
RELEASE.BAT | ||
build.bat | ||
buildall.bat | ||
clean.bat | ||
clobber.bat | ||
config.b | ||
config.m | ||
default.bat | ||
filelist | ||
makefile |
README.md
fdkernel
FreeDOS kernel - branch from 2042 SVN 0xFD kernel
The FreeDOS kernel implements the core MS/PC-DOS (R) compatible functions. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project. Compiled kernels ready to use (just copy kernel.sys over an existing install) are available at http://www.fdos.org/kernel/testing/git/ - also available are the source archive and fdpkg compatible packages.
This version of the kernel is intended only for 8086+ or 80386+ IBM compatible computers in continuation of the goals of the FreeDOS Project. Please see http://www.fdos.org/kernel for my 0xDC kernel that is work on merging back in some of the original portability aspects and other supported features at the cost of some compatibility with older hardware/software.
Please feel free to email me - PerditionC@gmail.com Jan 2014