X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.236.203.196 with SMTP id f44mr28433806yho.15.1428476566437; Wed, 08 Apr 2015 00:02:46 -0700 (PDT) X-Received: by 10.140.108.229 with SMTP id j92mr318760qgf.27.1428476566398; Wed, 08 Apr 2015 00:02:46 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Wed, 8 Apr 2015 00:02:46 -0700 (PDT) In-Reply-To: <0dc4ae38-a7de-4e7f-a3c4-255907147be3@googlegroups.com> Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.248.181.231; posting-account=mT4CwQoAAACeGCTFZdO8LdCOEWAuVBL8 NNTP-Posting-Host: 193.248.181.231 References: <5523B861 DOT 505 AT yahoo DOT no> <0dc4ae38-a7de-4e7f-a3c4-255907147be3 AT googlegroups DOT com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <290ee774-d306-4226-91fa-2ba3216fd797@googlegroups.com> Subject: Re: I have found fopen() + network bug From: =?ISO-8859-1?Q?S=E9bastien_Favier?= Injection-Date: Wed, 08 Apr 2015 07:02:46 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 2719 Lines: 35 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t387F3WR025847 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Le mardi 7 avril 2015 17:17:37 UTC+2, Sébastien Favier a écrit : > Le mardi 7 avril 2015 13:12:51 UTC+2, Gisle Vanem a écrit : > > But you could try a "set LFN=n" in your environment. > > Thank you for your reply, I have test to set LFN=n, but this has not effect > I have test to install LFN driver (DOSLFN) and set LFN=n, same problem > > Set SFN ? runtime? > > * src/libc/dos/io/_open.c: If 0x716C function not supported fall back on SFN. Set CF before calling 0x716C function. > https://groups.google.com/forum/#!topic/comp.os.msdos.djgpp/oPniPgBfm_E > > Thank > > PS: > From my recollection,w ith Dr-Dos, I not have this problem, fopen() work PS: I found 3 .C interesting FreeDos sources about this problem : http://cpcdos.e-monsite.com/medias/files/open-freedos-source.zip inthndlr.c line 1877 about this "0x0017" (Get current directory) inthndlr.c line 1915 about this "0x0020" (file table entry) doslfn.c : line 516 - 522 about this "0x0020" doslfn.c : some extended open codes 0000 0001 open O_OPEN 0001 0000 create new file O_CREAT 0001 0001 create if not exists, open if exists O_CREAT | O_OPEN 11 O_LEGACY not called from int21/ah=6c: find right fn for redirector 10 O_CREAT if file does not exist, create it 8 O_OPEN if file exists, open it You think it's a freedos problem ? :-/ Best regards