delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/07/14:04:01

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: fstat works incorrectly under Windows NT
Date: Fri, 07 Apr 2000 17:42:33 +0200
Organization: NetVision Israel
Lines: 15
Message-ID: <38EE01E9.3EA52F8A@is.elta.co.il>
References: <8chqb5$78u$1 AT sunsite DOT icm DOT edu DOT pl> <38ECE535 DOT D0414969 AT is DOT elta DOT co DOT il> <8ck9k5$ob6$1 AT sunsite DOT icm DOT edu DOT pl>
NNTP-Posting-Host: ras1-p49.rvt.netvision.net.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 955122069 5234 62.0.172.51 (7 Apr 2000 15:41:09 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 7 Apr 2000 15:41:09 GMT
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en,ru,hebrew
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Wojciech Galazka wrote:
> 
> At first I used a binary version then used that one compiled myself with
> DJGPP 2.01
> Sounds that I need to upgrade, though

Yes, please.  A lot of water went under fstat's bridge since v2.01.

> For an already existing file the return for st_dev is 3 (dirve d:) but for a
> newly created file the result is 0 so the code fails. The new file was
> created within ln.c code using Win32 call, and not int 21h, AH=6C call
> hovewer

Sorry, I don't understand: how did Win32 calls enter the picture?  Are you
telling that these problems only happen when ln runs under your LFN driver?

- Raw text -


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