Mail Archives: djgpp-workers/2002/12/10/06:59:23
Hello.
Here's a patch to list some TSRs that hook INT 21h in the documentation
for statfs, statvfs and fstatvfs. I plan to commit it on Sunday.
OK to commit?
Bye, Rich =]
Index: src/libc/compat/sys/vfs/statfs.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/compat/sys/vfs/statfs.txh,v
retrieving revision 1.5
diff -p -c -3 -r1.5 statfs.txh
*** src/libc/compat/sys/vfs/statfs.txh 9 Mar 2002 10:34:55 -0000 1.5
--- src/libc/compat/sys/vfs/statfs.txh 10 Dec 2002 11:56:38 -0000
*************** struct statfs
*** 29,35 ****
@end example
Note that if INT 21h is hooked by a TSR, the total size is limited
! to approximately 2GB.
Note that there is a POSIX-compliant function @code{statvfs}
(@pxref{statvfs}), which returns similar information.
--- 29,35 ----
@end example
Note that if INT 21h is hooked by a TSR, the total size is limited
! to approximately 2GB (@pxref{statvfs}).
Note that there is a POSIX-compliant function @code{statvfs}
(@pxref{statvfs}), which returns similar information.
Index: src/libc/posix/sys/statvfs/fstatvfs.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/posix/sys/statvfs/fstatvfs.txh,v
retrieving revision 1.1
diff -p -c -3 -r1.1 fstatvfs.txh
*** src/libc/posix/sys/statvfs/fstatvfs.txh 30 Jan 2002 19:54:45 -0000 1.1
--- src/libc/posix/sys/statvfs/fstatvfs.txh 10 Dec 2002 11:56:46 -0000
*************** struct statvfs @{
*** 34,40 ****
@end example
Note that if INT 21h is hooked by a TSR, the total size is limited
! to approximately 2GB.
@subheading Return Value
--- 34,40 ----
@end example
Note that if INT 21h is hooked by a TSR, the total size is limited
! to approximately 2GB (@pxref{statvfs}).
@subheading Return Value
Index: src/libc/posix/sys/statvfs/statvfs.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/posix/sys/statvfs/statvfs.txh,v
retrieving revision 1.1
diff -p -c -3 -r1.1 statvfs.txh
*** src/libc/posix/sys/statvfs/statvfs.txh 30 Jan 2002 19:54:45 -0000 1.1
--- src/libc/posix/sys/statvfs/statvfs.txh 10 Dec 2002 11:56:51 -0000
*************** struct statvfs @{
*** 34,40 ****
@end example
Note that if INT 21h is hooked by a TSR, the total size is limited
! to approximately 2GB.
@subheading Return Value
--- 34,47 ----
@end example
Note that if INT 21h is hooked by a TSR, the total size is limited
! to approximately 2GB. TSRs that hook INT 21h include:
!
! @itemize @bullet
! @item CD-ROM drivers;
! @item command-line enhancers such as CMDEDIT and Microsoft's DOSEdit.
! @end itemize
!
! These may be loaded by @file{autoexec.bat} or @file{config.sys}.
@subheading Return Value
- Raw text -