installer mkdir problem?
ttimo at idsoftware.com
Fri Jun 15 10:38:19 EDT 2007
Reported by a tester (I'll update if I get more):
> First off the installer quits if the destination directory doesn't
exists. Running through truss it shows a successful mkdir syscall but
the destination directory is not created. Given this I'm investigating
the possibility of the FreeBSD Linux kernel ABI having an issue. I'll
let you know what I find when I've had a dig around in the kernel. For
reference the following is the relevant entry from truss output:
> linux_mkdir("/usr/local/games/etqw.server",493) = 0 (0x0)
> Next up is a warning I believe?
> STUBBED: ftell is 32 bit!
> at /home/timo/Build/mojosetup/fileio.c:246
> As mentioned we like others use FreeBSD for our Linux servers which
could be a factor in this but I'm also aware that ftell and fseek are
not the most reliable methods. For instance the POSIX implementation is
known to be broken and instead its suggested that fseeko and ftello are
used, which are also directly mapable on 32 and 64 bit systems..
More information about the mojosetup