--- eiskaltdc-0.5.1/eiskaltdc/main.cpp.orig 2009-08-18 08:04:32 +0400 +++ eiskaltdc-0.5.1/eiskaltdc/main.cpp 2009-08-18 08:05:44 +0400 @@ -159,7 +159,7 @@ int get_lock(){ fl.l_start = 0; fl.l_len = 0; - if ((fd_lock = open("/tmp/eiskaltdc.lock", O_WRONLY|O_CREAT, 0666)) < 0){ + if ((fd_lock = open(QDir::homePath() + "/tmp/eiskaltdc.lock", O_WRONLY|O_CREAT, 0666)) < 0){ perror("open"); exit(1); }