mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user