delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/12/10/06:59:23

Date: Tue, 10 Dec 2002 11:59:26 +0000
From: "Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk>
Sender: rich AT phekda DOT freeserve DOT co DOT uk
To: djgpp-workers AT delorie DOT com
X-Mailer: Emacs 21.3.50 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
Subject: {f,}stat{,v}fs: TSRs that hook INT 21h [PATCH]
Message-Id: <E18Lj2h-0000k5-00@phekda.freeserve.co.uk>
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019