View | Details | Raw Unified | Return to bug 21101
Collapse All | Expand All

(-)eiskaltdc-0.5.1/eiskaltdc/main.cpp.orig (-1 / +1 lines)
Lines 159-165 int get_lock(){ Link Here
159
    fl.l_start = 0;
159
    fl.l_start = 0;
160
    fl.l_len = 0;
160
    fl.l_len = 0;
161
161
162
    if ((fd_lock = open("/tmp/eiskaltdc.lock", O_WRONLY|O_CREAT, 0666)) < 0){
162
    if ((fd_lock = open(QDir::homePath() + "/tmp/eiskaltdc.lock", O_WRONLY|O_CREAT, 0666)) < 0){
163
        perror("open");
163
        perror("open");
164
        exit(1);
164
        exit(1);
165
    }
165
    }

Return to bug 21101