ALT Linux Bugzilla
– Attachment 3748 Details for
Bug 21101
wrong lock file path
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч
eiskaltdc-0.5.1-alt-lock-file-path.patch (text/plain), 440 bytes, created by
algor
on 2009-08-18 08:33:01 MSD
(
hide
)
Description:
патч
Filename:
MIME Type:
Creator:
algor
Created:
2009-08-18 08:33:01 MSD
Size:
440 bytes
patch
obsolete
>--- 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); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21101
: 3748