[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    dcop/iceauth msvc fix
From:       thiago () kde ! org (Thiago Macieira)
Date:       2006-02-19 12:24:04
Message-ID: 200602191324.04446.thiago () kde ! org
[Download RAW message or body]

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 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic