Index: CvsProxyUnix.cpp =================================================================== RCS file: /scotty/cvsproxy/CvsProxyUnix.cpp,v retrieving revision 1.13 diff -c -r1.13 CvsProxyUnix.cpp *** CvsProxyUnix.cpp 29 Aug 2012 08:46:21 -0000 1.13 --- CvsProxyUnix.cpp 29 Aug 2012 08:51:25 -0000 *************** *** 370,376 **** strcat(real_filename, "cvsnt"); key = ftok(base_pathbuf,mypid); if (key>=0) ! semid = semget(key,1,0666); else { sem_errno = errno; --- 370,376 ---- strcat(real_filename, "cvsnt"); key = ftok(base_pathbuf,mypid); if (key>=0) ! semid = semget(key,1,0666 | IPC_CREAT); else { sem_errno = errno; *************** *** 380,386 **** CServerIo::log(CServerIo::logError,DISPLAY_NAMEA" Create Semaphore failed (ftok) - cannot ensure that accept() is not raced (%S): %s\n",semnamew,sem_err); printf("Create Semaphore failed - cannot ensure that accept() is not raced (%S): %s",semnamew,sem_err); } - semid = semget(key,1,0666 | IPC_CREAT); swprintf(semnamew,2048,L"%s_%d(%lu)",base_pathbuf,(int)mypid,(unsigned long)key); } --- 380,385 ----