Ticket #313: fpathconf.diff

File fpathconf.diff, 646 bytes (added by KO Myung-Hun, 10 years ago)

patch for fpathconf()

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

    diff --git a/src/emx/src/lib/sys/b_dir.c b/src/emx/src/lib/sys/b_dir.c
    index 4f6f9fc..ae16758 100755
    a b static int dirOpen(const char *pszNativePath, unsigned fLibc, int *pfh, __LIBC_P  
    394394                rc = __libc_FHAllocate(*pfh, fLibc, sizeof(__LIBC_FHDIR), &gDirOps, &pFH, pfh);
    395395                if (!rc)
    396396                {
     397                    pFH->Dev            = makedev('V', Tmp.Core.pszNativePath[0]);
    397398                    pFH->pFsInfo        = __libc_back_fsInfoObjByDev(pFH->Dev);
    398399                    pFH->pszNativePath  = Tmp.Core.pszNativePath;
    399400