FreeDOS kernel - implements the core MS-DOS/PC-DOS (R) compatible operating system. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2 or later. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project.
Go to file
Andrew Bird d5b5505013 FCB: Rename return value lost
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
2018-10-20 20:45:24 -04:00
bin Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
boot For GCC builds use GNU make instead of wmake throughout. 2018-01-11 17:50:31 -05:00
docs ia16-elf-gcc: remove need for far function wrappers 2018-07-08 18:10:18 +08:00
drivers Use "ar" instead of "wlib" in gcc build. 2018-01-11 17:50:31 -05:00
hdr ia16-elf-gcc port: use CDECL = __attribute__((cdecl)) instead of varargs. 2018-07-12 10:56:26 -04:00
kernel FCB: Rename return value lost 2018-10-20 20:45:24 -04:00
lib FreeDOS kernel current - 2041+svn1709 2012-10-14 20:08:06 -04:00
mkfiles ia16-elf-gcc: remove need for far function wrappers 2018-07-08 18:10:18 +08:00
share FreeDOS kernel current - 2041+svn1709 2012-10-14 20:08:06 -04:00
sys ia16-elf-gcc: enable and fix basic warnings; don't do strict ptr aliasing for now 2018-01-11 17:50:31 -05:00
tests/absread Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
utils Fix minor issues in diagnostic messages in utils/exeflat.c 2018-04-07 22:22:12 +08:00
.gitattributes Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
.gitignore .gitignore: be more thorough 2017-12-22 09:37:31 -05:00
MAKEPKGS.BAT Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
README.md Update README.md 2014-01-24 10:05:25 -05:00
RELEASE.BAT Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
build.bat Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
buildall.bat Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
clean.bat Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
clobber.bat Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
config.b Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
config.m fix and enable i386 support 2017-12-06 23:13:47 -05:00
default.bat Introduce end-of-line normalization 2017-12-22 09:37:31 -05:00
filelist FreeDOS kernel current - 2041+svn1709 2012-10-14 20:08:06 -04:00
makefile For GCC builds use GNU make instead of wmake throughout. 2018-01-11 17:50:31 -05:00

README.md

fdkernel

FreeDOS kernel - branch from 2042 SVN 0xFD kernel

http://www.fdos.org/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