FreeBSD Bugzilla – Attachment 160833 Details for
Bug 202969
update x11-fm/xfe to 1.40.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-xfeutils.cpp
patch-xfeutils_cpp (text/plain), 868 bytes, created by
Walter Schwarzenfeld
on 2015-09-08 11:50:38 UTC
(
hide
)
Description:
patch-xfeutils.cpp
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2015-09-08 11:50:38 UTC
Size:
868 bytes
patch
obsolete
>--- src/xfeutils.cpp.orig 2015-09-07 15:32:21 UTC >+++ src/xfeutils.cpp >@@ -563,36 +563,6 @@ int lstatmt(const char* filename, struct > #endif > > >-// Safe strcpy function (Public domain, by C.B. Falconer) >-// The destination string is always null terminated >-// Size sz must be equal to strlen(src)+1 >-size_t strlcpy(char* dst, const char* src, size_t sz) >-{ >- const char *start = src; >- >- if (src && sz--) >- { >- while ((*dst++ = *src)) >- if (sz--) >- src++; >- else >- { >- *(--dst) = '\0'; >- break; >- } >- } >- if (src) >- { >- while (*src++) >- continue; >- return src - start - 1; >- } >- else if (sz) >- *dst = '\0'; >- return 0; >-} >- >- > // Safe strcat function (Public domain, by C.B. Falconer) > // The destination string is always null terminated > size_t strlcat(char* dst, const char* src, size_t sz)
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 202969
:
160831
|
160832
| 160833 |
160862
|
160866