delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/24/15:27:40

Date: Wed, 24 Jan 2001 22:27:42 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Mark E." <snowball3 AT bigfoot DOT com>
Message-Id: <3405-Wed24Jan2001222741+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3A6EF1B9.6453.3E8C83@localhost> (snowball3@bigfoot.com)
Subject: Re: filelength and errno patch
References: <3A6EF1B9 DOT 6453 DOT 3E8C83 AT localhost>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Wed, 24 Jan 2001 15:16:09 -0500
> +   /* DOS 7 provides a way to get the file size directly.
> +      Prefer it when available.  */
> +   if (_osmajor >= 7 && _osmajor < 10)
> +   {
> +     regs.x.ax = 0x71A6;
> +     regs.x.bx = fhandle;

Does this work on plain DOS 7 or only on Windows 9X?  If the latter,
you will need to test _USE_LFN, I think.

- Raw text -


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