ALT Linux Bugzilla
– Attachment 1932 Details for
Bug 11648
не спрашивает PIN
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
kdebluetooth-1.0_beta2-alt-start-passkey-agent.patch
kdebluetooth-1.0_beta2-alt-start-passkey-agent.patch (text/plain), 1006 bytes, created by
Sergey V Turchin
on 2007-04-28 20:04:25 MSD
(
hide
)
Description:
kdebluetooth-1.0_beta2-alt-start-passkey-agent.patch
Filename:
MIME Type:
Creator:
Sergey V Turchin
Created:
2007-04-28 20:04:25 MSD
Size:
1006 bytes
patch
obsolete
>--- kdebluetooth-1.0/kdebluetooth/kbluetoothd/kbluetoothd/application.cpp~ 2006-11-11 20:32:32 +0300 >+++ kdebluetooth-1.0/kdebluetooth/kbluetoothd/kbluetoothd/application.cpp 2007-04-28 19:58:51 +0400 >@@ -36,6 +36,27 @@ KBluetoothdApp::KBluetoothdApp() : > // Enable autostart > m_config->setGroup("General"); > m_config->writeEntry("AutoStart", true); >+ { >+ int pagent_pid = m_config->readNumEntry("PassKeyAgentPid", 0); >+ if( pagent_pid >= 0 ) >+ { >+ if( pagent_pid == 0 || (pagent_pid > 0 && ::kill(pagent_pid, 0) < 0) ) >+ { >+ pid_t new_pid = 0; >+ m_config->writeEntry("PassKeyAgentPid", new_pid); >+ if(::access("/usr/bin/passkey-agent", X_OK) == 0) >+ { >+ new_pid = fork(); >+ if( new_pid == 0 ) >+ { >+ ::execl("/usr/bin/passkey-agent", "/usr/bin/passkey-agent", "--default", "/usr/sbin/kbluepin", NULL); >+ } >+ } >+ if( new_pid > 0 ) >+ m_config->writeEntry("PassKeyAgentPid", new_pid); >+ } >+ } >+ } > m_config->sync(); > > metaServer = NULL;
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 11648
:
1932
|
1936