Re: [freedos-32-dev] Problem with paths
Status: Pre-Alpha
Brought to you by:
salvois
From: Hanzac C. <ha...@gm...> - 2006-03-20 21:36:52
|
Hi, On 3/21/06, Sylvain Petreolle wrote: > While looking into fd32 logs when running MyTime, > it appeared that the data files werent found. > > I added a debug line to see what filenames were given to lfn_functions. > MyTime tries to open the files without giving absolute paths. > > The program is in c:\mytime. > I run it from c:\mytime. > Atm when it tries to open "sec_beep.wav", > the lfn_functions wants to open it into c:\, which fails. > > Here is the log: > DPMI chandler, INT: 31 EAX: 300 EBX: 21 eflags: 246 > INT 21h - AX=3D714E BX=3D0000 CX=3D0023 DX=3D0000 SI=3D0001 DI=3D000D DS= =3D0F81 ES=3D0F81... > [DPMI] INT 21h AX=3D714Eh BX=3D0000h CX=3D0023h DX=3D0000h > [DPMI] INT 21h: lfn_functions, al=3D4Eh > sec_beep.wav > [FS] truename: C:\ > [FAT2] OPEN COMPLETE. 2 channels, 2 files, 5 dentries. > INT 21h - res=3D-2 It seems that the current directory list doesn't include the program's running directory, I also used to find this problem. If it's confirmed, I'll add it in the dos_exec.c. Hanzac |