Changeset 2450 in kBuild for trunk/src/kmk/kdepdb.c
- Timestamp:
- Jul 7, 2011 5:54:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kdepdb.c
r2413 r2450 536 536 else 537 537 { 538 pFH->fd = open(pszFilename, fFlags | O_EXCL | O_CREAT E, 0666);538 pFH->fd = open(pszFilename, fFlags | O_EXCL | O_CREAT, 0666); 539 539 if (pFH->fd < 0) 540 540 return errno; … … 1062 1062 char szPath[4096]; 1063 1063 int rc; 1064 KBOOL fNew; 1064 1065 1065 1066 /* Basic member init, so kDepDbStrTabTerm always works. */ … … 1079 1080 memcpy(szPath, pszFilenameBase, cchFilenameBase); 1080 1081 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.