Fix the fix

svn path=/trunk/; revision=31869
This commit is contained in:
Colin Finck
2008-01-18 16:26:31 +00:00
parent e2a747b76d
commit 462e70bed3
+1 -1
View File
@@ -2413,7 +2413,7 @@ static int save_all_changes(msft_typelib_t *typelib)
retval = TYPE_E_IOERROR;
fd = open(typelib->typelib->filename, _O_CREAT | _O_RDWR | _O_BINARY, 0666);
fd = open(typelib->typelib->filename, O_CREAT | O_RDWR | O_BINARY, 0666);
if (fd == -1) return retval;
filepos = sizeof(MSFT_Header) + sizeof(MSFT_SegDir);