source: kde-misc/kgtk/files/kgtk-0.10.0-gcc433.patch @ f864723

Revision f864723, 591 bytes checked in by geos_one <geos_one@…>, 11 years ago (diff)

add kde tools

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@903 6952d904-891a-0410-993b-d76249ca496b

  • Property mode set to 100644
  • common/common.h

    old new  
    205205{ 
    206206    do 
    207207    { 
    208         lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL); 
     208#if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 3 || (__GNUC_MINOR__ == 3 &&  __GNUC_PATCHLEVEL__ > 2))) 
     209        lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL, 0777); 
     210#else 
     211        lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL); 
     212#endif 
     213 
    209214        if (lockFd<0 && errno==EEXIST) 
    210215        { 
    211216            /* Hmm, lock file already exists. Is it stale? */ 
Note: See TracBrowser for help on using the repository browser.