mirror of
https://github.com/reactos/reactos.git
synced 2024-07-04 11:44:33 +00:00
Write the TLB file in binary mode, so the line endings won't be changed.
Fixes the MSI registration (I reenabled it as well). Credits go to Aleksey and Hervé again. svn path=/trunk/; revision=31868
This commit is contained in:
parent
c9cf79d518
commit
e2a747b76d
|
@ -2,7 +2,7 @@
|
|||
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
||||
<group>
|
||||
<module name="msi" type="win32dll" baseaddress="${BASEADDRESS_MSI}" installbase="system32" installname="msi.dll" allowwarnings="true">
|
||||
<!--autoregister infsection="OleControlDlls" type="DllRegisterServer" /-->
|
||||
<autoregister infsection="OleControlDlls" type="DllRegisterServer" />
|
||||
<importlibrary definition="msi.spec.def" />
|
||||
<include base="msi">.</include>
|
||||
<include base="ReactOS">include/reactos/wine</include>
|
||||
|
|
|
@ -2413,7 +2413,7 @@ static int save_all_changes(msft_typelib_t *typelib)
|
|||
|
||||
retval = TYPE_E_IOERROR;
|
||||
|
||||
fd = creat(typelib->typelib->filename, 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);
|
||||
|
|
Loading…
Reference in a new issue