From: Martin Str|mberg Message-Id: <200107102049.WAA02477@father.ludd.luth.se> Subject: Re: DJDIR Windows 2000 investigation results #1 In-Reply-To: <000c01c10944$9ad2fff0$0a02a8c0@acceleron> from Andrew Cottrell at "Jul 10, 2001 11:31:18 pm" To: djgpp-workers AT delorie DOT com Date: Tue, 10 Jul 2001 22:49:33 +0200 (MET DST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Precedence: bulk According to Andrew Cottrell: > Hi all, > > I checked out the code as Eli suggested and traced a quirk (I do not know enough about the LFN API to call it a bug) using Ralph Browns Interrupt List 6.1. I have attached the app that I used for the investigation (only the final version). Sorry for including such a large code snippet, but I thought that this would help, let me know what I should do in the future so as not to cause any problems. This is the right way. It sure beats some unreadable .ZIP file. If the code is huge I recommend to put it up for downloading and post the link. This one isn't huge. But you should stop sending HTML. (You need to configure your mailer to break lines at around 70 columns too. Or press CR now and then.) > If you need to send me an email then remove then remove the .oz from the email address. That's strange as I see what I think is your proper mail address in the From field. Anyway, if you don't provide any proper email address you won't get any mail from me. Plus now I assume you do not want an email, so I won't send you one. I hope you're subscribed or reading the archives. > int ac_open (const char *filename, int oflag, int use_fat32) > { > __dpmi_regs r; > int rv; > int use_lfn = _USE_LFN; > > if (filename == 0) > { > acdebug errno = EINVAL; > return -1; > } > > if (__FSEXT_call_open_handlers (__FSEXT_open, &rv, &filename)) > { > acdebug return rv; > } > > if (use_lfn) > { > acdebug > r.x.ax = 0x716c; > #if 1 > r.x.bx = (oflag & 0xff) | use_fat32; /* 0x1000 is FAT32 extended size. */ > #else > ORIGINAL LINE -- r.x.bx = (oflag & 0xff) | 0x1000; /* 0x1000 is FAT32 extended size. */ > r.x.bx = (oflag & 0xff) ; /* 0x1000 is FAT32 extended size. */ > #endif > r.x.dx = 1; /* Open existing file */ > r.x.si = __tb_offset; > } > else > { > acdebug > if (7 <= _osmajor && _osmajor < 10) Is this taken from the library sources? (It looks like it is, but it seems to have been ac-ed.) Please tell me which file. Right, MartinS