Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 175784 Details for
Bug 251533
doxygen-1.5.7.1 erroneously changed semantics of substitute
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
doxygen-1.5.7.1-substitute.patch (text/plain), 656 bytes, created by
Denys Duchier
on 2008-12-18 20:16:20 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Denys Duchier
Created:
2008-12-18 20:16:20 UTC
Size:
656 bytes
patch
obsolete
>--- doxygen-1.5.7.1-orig/src/util.cpp 2008-10-04 14:28:00.000000000 +0200 >+++ doxygen-1.5.7.1/src/util.cpp 2008-12-18 20:55:15.000000000 +0100 >@@ -4447,10 +4447,10 @@ > > QCString substitute(const char *s,const char *src,const char *dst) > { >- if (s==0 || src==0 || dst==0) return s; >+ if (s==0 || src==0) return s; > const char *p, *q; > int srcLen = strlen(src); >- int dstLen = strlen(dst); >+ int dstLen = dst ? strlen(dst) : 0; > int resLen; > if (srcLen!=dstLen) > { >@@ -4469,7 +4469,7 @@ > int l = (int)(q-p); > memcpy(r,p,l); > r+=l; >- memcpy(r,dst,dstLen); >+ if (dst) memcpy(r,dst,dstLen); > r+=dstLen; > } > strcpy(r,p);
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 251533
: 175784