Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 220921 Details for
Bug 306383
Add ebuild for SmartCam
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
No bluetooth segfault patch for smartcam-1.4.0
smartcam-no-bluetooth-segfault.patch (text/plain), 961 bytes, created by
Juanlu Pérez
on 2010-02-24 04:59:39 UTC
(
hide
)
Description:
No bluetooth segfault patch for smartcam-1.4.0
Filename:
MIME Type:
Creator:
Juanlu Pérez
Created:
2010-02-24 04:59:39 UTC
Size:
961 bytes
patch
obsolete
>=== modified file 'src/CommHandler.cpp' >--- smartcam-1.4.0.orig/src/CommHandler.cpp 2009-11-06 14:46:00 +0000 >+++ smartcam-1.4.0/src/CommHandler.cpp 2009-11-06 14:47:20 +0000 >@@ -151,10 +151,14 @@ > > // connect to the local SDP server, register the service record > sdpSession = sdp_connect(BDADDR_ANY, BDADDR_LOCAL, SDP_RETRY_IF_BUSY); >- err = sdp_record_register(sdpSession, sdpRecord, 0); >- if(err) >- { >- perror("sdp_record_register"); >+ if (sdpSession == NULL) { >+ perror("sdp_connect"); >+ } else { >+ err = sdp_record_register(sdpSession, sdpRecord, 0); >+ if(err) >+ { >+ perror("sdp_record_register"); >+ } > } > > // cleanup >@@ -331,7 +335,7 @@ > > void CCommHandler::StopServer() > { >- if(sdpRecord != NULL) >+ if(sdpRecord != NULL && sdpSession != NULL) > { > sdp_record_unregister(sdpSession, sdpRecord); > sdpRecord = 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 306383
:
220723
|
220725
|
220727
|
220785
|
220919
| 220921 |
221041
|
258323
|
265861
|
265887
|
265889
|
319036
|
319038
|
319042