delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2016/05/10/16:00:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Wiktor S. (wswiktorSP AT Mpoczta DOT fm) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fwd: A few DJGPP libc.a bugs
Date: Tue, 10 May 2016 21:43:10 +0200
Organization: INTERIA.PL S.A.
Lines: 48
Message-ID: <ngtdkk$pq$1@usenet.news.interia.pl>
References: <56F8295E DOT 2090401 AT posteo DOT de> <571E403D DOT 8080709 AT iki DOT fi> <571E4A50 DOT 3010806 AT iki DOT fi> <571E8166 DOT 1000103 AT gmx DOT de> <571EE412 DOT 6000005 AT iki DOT fi> <CAA-ihx914xS1qBNrR0Uii-jEm_-Q99LtbWHGmbjRj=azqidnaA AT mail DOT gmail DOT com> <152f7110-7932-a6db-30fd-afccd63822d4 AT iki DOT fi> <ngtd8c$vli$1 AT usenet DOT news DOT interia DOT pl>
NNTP-Posting-Host: user-109-243-158-144.play-internet.pl
Mime-Version: 1.0
X-Trace: usenet.news.interia.pl 1462909397 826 109.243.158.144 (10 May 2016 19:43:17 GMT)
X-Complaints-To: usenet AT firma DOT interia DOT pl
NNTP-Posting-Date: Tue, 10 May 2016 19:43:17 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
Bytes: 2428
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Wiktor S. wrote:
>> Well that exFAT support suffers under WIn10 Home 32 bit from the same
>> bug as NTFS, which makes it not very useful for DJGPP.
>>
>> DJGPP seems to be unable to open files on drives different from C:
>> and formatted as NTFS or exFAT when LFN is required.
>
>
> I have bad news. This also happens in XP on exFAT partitions.
> (one of course needs an update for XP to access exFAT)


Note that this problem seems limited to libc, Free Pascal for DOS works 
fine:

============
c:\PP\pas>type pascat.pas
var t:text;
    s:string;

begin
  assign(t, paramstr(1));
  reset(t);
  while not eof(t) do
  begin
    readln(t, s);
    writeln(s);
  end;
  close(t);
end.

c:\PP\pas>fpc pascat.pas
Free Pascal Compiler version 3.0.0 [2015/11/17] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: GO32 V2 DOS extender
Compiling pascat.pas
Linking pascat.exe
13 lines compiled, 1.8 sec, 30768 bytes code, 2972 bytes data

c:\PP\pas>pascat g:\longfilename.txt
it works

============


-- 
Wiktor S.

- Raw text -


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