Ticket #382: fs.diff

File fs.diff, 502 bytes (added by komh, 22 months ago)

patch for same inodes

  • src/emx/src/lib/sys/fs.c

    diff --git a/src/emx/src/lib/sys/fs.c b/src/emx/src/lib/sys/fs.c
    index f3751607..7a19e52f 100755
    a b dev_t __libc_back_fsUnixAttribsInit(struct __LIBC_FSUNIXATTRIBSCREATEFEA2LIST *p 
    16461646        s_Seed.ausSeed[3] = 1;
    16471647    }
    16481648    pFEas->u64INO = nrand48(&s_Seed.ausSeed[0]) & 0xffffffff;
     1649    pFEas->u64INO |= (fibGetPid() << 16 | fibGetTid()) & 0xffffffff;
    16491650    _smutex_release(&s_smtxSeed);
    16501651
    16511652    /* high 32-bit - crc32 */