FreeBSD Bugzilla – Attachment 50987 Details for
Bug 77564
[Maintainer Update] sysutils/lineakd: Fix segfaults on AMD64 (Superseeds ports/77479)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-lineak__defloader.cpp
patch-lineak__defloader.cpp (text/plain), 1.11 KB, created by
Kay Lehmann
on 2005-02-15 17:40:18 UTC
(
hide
)
Description:
patch-lineak__defloader.cpp
Filename:
MIME Type:
Creator:
Kay Lehmann
Created:
2005-02-15 17:40:18 UTC
Size:
1.11 KB
patch
obsolete
>--- lineak/defloader.cpp.orig Tue Feb 15 18:28:46 2005 >+++ lineak/defloader.cpp Tue Feb 15 18:28:49 2005 >@@ -129,7 +129,7 @@ > // Handle empty lines. > loc = tmp.find('='); > // empty line >- if (loc == string::npos) >+ if (loc == (unsigned int)string::npos) > continue; > > // key == the name of the key. >@@ -157,13 +157,13 @@ > //cout << akey; > /** Now determine if this is a toggleable key. We will have to parse > the name format name1|name2 if indeed it is a toggleable key. */ >- if ((unsigned int)key.find('|') != string::npos) { >+ if ((unsigned int)key.find('|') != (unsigned int)string::npos) { > key+='|'; > akey->setToggle(true); > int index; > string tmp; > //vector<string>names; >- while (((unsigned int)(index = key.find('|'))) != string::npos) { >+ while (((unsigned int)(index = key.find('|'))) != (unsigned int)string::npos) { > tmp = key.substr(0,index); > //cout << "adding toggle name: " << tmp << " to " << akey->getName() << endl; > akey->addToggleName(tmp);
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 Raw
Actions:
View
Attachments on
bug 77564
: 50987