[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] hostfs bug with unlink() when an open handle exists



Am 14.12.2013, 09:54 Uhr, schrieb Helmut Karlowski <helmut.karlowski@ish.de>:

It has some problems with /tmp:

pid  78 (gcc): Fstat64(/tmp/ccthlXA1.s): path2cookie returned -33
pid  78 (gcc): Freadlink: unable to find /tmp/ccthlXA1.s

Seems to be something else:

Run with fatfs.c (works):

pid 11 (gcc): do_open(/f/usr/m68k-atari-mint/gcc-bin/4.6.3/../../../libexec/gcc/m68k-atari-mint/4.6.3/cc1): mode 0x81ED pid 11 (gcc): do_open(/f/usr/m68k-atari-mint/gcc-bin/4.6.3/../../../libexec/gcc/m68k-atari-mint/4.6.3/cc1) -> 0

Run with ../fatfs.c (works not):

pid 7 (gcc): Fstat64(/v/home/hk/mymint/sys/.compile_ara/../../../libexec/gcc/m68k-atari-mint/4.6.3/cc1): path2cookie returned -33 pid 7 (gcc): Fstat64(/v/home/hk/mymint/sys/.compile_ara/../../../libexec/gcc/cc1): path2cookie returned -33 pid 7 (gcc): Fstat64(/v/home/hk/mymint/sys/.compile_ara/../../../lib/gcc/m68k-atari-mint/4.6.3/../../../../m68k-atari-mint/bin/m68k-atari-mint/4.- pid 7 (gcc): Fstat64(/v/home/hk/mymint/sys/.compile_ara/../../../lib/gcc/m68k-atari-mint/4.6.3/../../../../m68k-atari-mint/bin/cc1): path2cookie -
pid   7 (gcc): attach_region: reg 5, return loc 12F8000 (12F8000)

Why does gcc use a different root (the hostfs-drive) the second time?

Also some paths look truncated, is there a limit in hostfs?

--