Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
coolkey
coolkey-string-literal-comparison.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File coolkey-string-literal-comparison.patch of Package coolkey
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=250738 slot.cpp: In member function 'void Slot::makeLabelString(char*, int, const unsigned char*)': slot.cpp:927: warning: comparison with string literal results in unspecified behaviour --- src/coolkey/slot.cpp +++ src/coolkey/slot.cpp @@ -924,7 +924,7 @@ // #define COOLKEY "CoolKey" #define POSSESSION " for " - if (!personName || personName == "") { + if (!personName || personName[0] == '\0' ) { const int coolKeySize = sizeof(COOLKEY) ; memcpy(label, COOLKEY, coolKeySize-1); makeSerialString(&label[coolKeySize], maxSize-coolKeySize, cuid);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor