Hi!
2-Июл-2006 16:46 [EMAIL PROTECTED] (Blair Campbell) wrote to
[EMAIL PROTECTED]:
BC> +++ mk_rddir.c 2 Jul 2006 16:46:29 -0000 1.8
BC> - r.r_flags = 1;
BC> intr( 0x21, &r );
I think, assigning r_flags=1 may/should be remained (currently as
comment), for later usage, when intr() will be replaced by own intr()
implementation, which will support set/clear CF before INT call.
BC> - if( ( ( r.r_flags & 1 ) || r.r_ax == 0x7100 ) && __supportlfns ) {
BC> + if( func == 0x7139 && ( ( r.r_flags & 1 ) || r.r_ax == 0x7100 ) ) {
BC> r.r_ax = func << 8;
You may replace "r_ax=func<<8" above by "r_ax=0x3900", but better to
make more generic code:
if (func > 0x7100 && ((r.r_flags & 1) || r.r_ax == 0x7100)) {
---------^^^^^^^^
BC> #ifdef FEATURE_LONG_FILENAMES
BC> - if((rv = lfn_mrc_dir( argv[0], lfnfunc )) != 0)
BC> + if((rv = lfn_mrc_dir( getshortfilename( argv[0] ), lfnfunc )) != 0)
Don't you forget to correctly change initialization for `lfnfunc'?
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel