delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/01/14/13:09:57

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <199901141809.TAA28642@father.ludd.luth.se>
Subject: Re: FAT32
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Thu, 14 Jan 1999 19:09:48 +0100 (MET)
Cc: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
In-Reply-To: <Pine.SUN.3.91.990112105129.15876F-100000@is> from Eli Zaretskii at "Jan 12, 99 10:51:51 am"
X-Mailer: ELM [version 2.4ME+ PL15 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

According to Eli Zaretskii:
> 
> On Mon, 11 Jan 1999, Martin Str|mberg wrote:
> 
> > Here's a hand typed patch for src/libc/dos/io/_open.c:
> >  if(use_lfn) {
> >    r.x.ax = 0x716c;
> > -  r.x.bx = oflag & 0xff;
> > +  r.x.bx = (oflag & 0xff) | 0x1000;
> >    r.x.dx = 1;                        /* Open existing file */
> 
> This is too simplistic.  FAT32 is supported even if LFN is disabled,
> but this patch disables FAT32 support in DJGPP in those cases.

Yes. I realise that now. However if this works on LFN capable systems
without FAT32 support then the cases to be handled becomes three
instead of four.

Please test and report.


Right,

							MartinS

- Raw text -


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