VirtualBox

Changeset 2450 in kBuild for trunk/src/kmk/kdepdb.c


Ignore:
Timestamp:
Jul 7, 2011 5:54:56 PM (13 years ago)
Author:
bird
Message:

fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kdepdb.c

    r2413 r2450  
    536536    else
    537537    {
    538         pFH->fd = open(pszFilename, fFlags | O_EXCL | O_CREATE, 0666);
     538        pFH->fd = open(pszFilename, fFlags | O_EXCL | O_CREAT, 0666);
    539539        if (pFH->fd < 0)
    540540            return errno;
     
    10621062    char    szPath[4096];
    10631063    int     rc;
     1064    KBOOL   fNew;
    10641065
    10651066    /* Basic member init, so kDepDbStrTabTerm always works. */
     
    10791080    memcpy(szPath, pszFilenameBase, cchFilenameBase);
    10801081    memcpy(&szPath[cchFilenameBase], ".strtab", sizeof(".strtab"));
    1081     rc = kDepDbFHOpen(&pStrTab->hStrTab, szPath, &fNew);
    1082 
    1083 
    1084 }
    1085 
     1082    rc = kDepDbFHOpen(&pStrTab->hStrTab, szPath, K_TRUE, &fNew);
     1083
     1084
     1085    return -1;
     1086}
     1087
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette