dcop/iceauth msvc fix

Thiago Macieira thiago at kde.org
Sun Feb 19 13:24:04 CET 2006


Michael Drüing wrote:
>Hi!
>
>This small patch fixes dcop/iceauth for the MSVC debug builds. Without
> it, the debug runtime throws an assertion on one of the many parameter
> sanity checks.

Change it to use constants in all platforms. S_IREAD and S_IWRITE are 
available.

>+#ifdef WIN32
>+           creat_fd = creat (creat_name, _S_IREAD | _S_IWRITE);
>+#else
>            creat_fd = creat (creat_name, 0666);
>+#endif


-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

4. And æfter se scieppend ingelogode, he wrát "cenn", ac eala! se 
rihtendgesamnung andswarode "cenn: ne wát hú cennan 'eall'. Ástynt."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060219/76c2eff3/attachment.pgp 


More information about the Kde-buildsystem mailing list