Skip to content
Snippets Groups Projects
Commit 76fcbe5c authored by Otavio Salvador's avatar Otavio Salvador
Browse files

Apply patch from Sami Liedes <sliedes@cc.hut.fi> to avoid unecessary

temporary allocations.
parent 95afdfd0
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,7 @@ bool CheckDomainList(const string &Host, const string &List);
int tolower_ascii(int c);
#define APT_MKSTRCMP(name,func) \
inline int name(const char *A,const char *B) {return func(A,A+strlen(A),B,B+strlen(B));}; \
inline int name(const char *A,const char *AEnd,const char *B) {return func(A,AEnd,B,B+strlen(B));}; \
inline int name(string A,const char *B) {return func(A.c_str(),A.c_str()+A.length(),B,B+strlen(B));}; \
inline int name(string A,string B) {return func(A.c_str(),A.c_str()+A.length(),B.c_str(),B.c_str()+B.length());}; \
......
......@@ -127,6 +127,8 @@ apt (0.7.22) UNRELEASED; urgency=low
* Apply patch from Sami Liedes <sliedes@cc.hut.fi> to reduce the
number of times we call progress bar updating and debugging
configuration settings.
* Apply patch from Sami Liedes <sliedes@cc.hut.fi> to avoid unecessary
temporary allocations.
-- Julian Andres Klode <jak@debian.org> Fri, 03 Jul 2009 08:27:35 +0200
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment