Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KTorrent
Commits
f7f03181
Commit
f7f03181
authored
Mar 29, 2008
by
Joris Guisson
Browse files
Merged rev 791389 (NFS home dir lock file fix)
svn path=/branches/ktorrent/3.0/; revision=791392
parent
1a5a7e01
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
f7f03181
Changes in 3.0.2 :
- Make sure seed time cannot wrap around (159756)
- Fix broken convert of blocklists
- Ported lock file fix for NFS home directories from KDE3 version
Changes in 3.0.1 :
- Fix sessionTTL not being able to be bigger then 99
...
...
ktorrent/main.cpp
View file @
f7f03181
...
...
@@ -39,8 +39,8 @@
bool
GrabPIDLock
()
{
// open the PID file in the
users ktorrent
directory and attempt to lock it
QString
pid_file
=
Q
Dir
::
homePath
()
+
"/.ktorrent.lock"
;
// open the PID file in the
/tmp
directory and attempt to lock it
QString
pid_file
=
Q
String
(
"/tmp/.ktorrent_kde4_%1.lock"
).
arg
(
getuid
())
;
int
fd
=
open
(
QFile
::
encodeName
(
pid_file
),
O_RDWR
|
O_CREAT
,
0640
);
if
(
fd
<
0
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment