Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 181607 Details for
Bug 258556
media-video/motion-3.2.11 segfault when logging errors from libraries
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove glibc special-case code since it's not applicable for newer glibc
strerr.patch (text/plain), 775 bytes, created by
Robert Trace
on 2009-02-11 05:39:27 UTC
(
hide
)
Description:
Remove glibc special-case code since it's not applicable for newer glibc
Filename:
MIME Type:
Creator:
Robert Trace
Created:
2009-02-11 05:39:27 UTC
Size:
775 bytes
patch
obsolete
>Index: motion.c >=================================================================== >--- motion.c (revision 442) >+++ motion.c (working copy) >@@ -2738,9 +2738,6 @@ > { > int errno_save, n; > char buf[1024]; >-#if (!defined(BSD)) >- char msg_buf[100]; >-#endif > va_list ap; > int threadnr; > >@@ -2772,11 +2769,7 @@ > * version of strerror_r, which doesn't actually put the message into > * my buffer :-(. I have put in a 'hack' to get around this. > */ >-#if (defined(BSD)) > strerror_r(errno_save, buf + n, sizeof(buf) - n); /* 2 for the ': ' */ >-#else >- strcat(buf, strerror_r(errno_save, msg_buf, sizeof(msg_buf))); >-#endif > } > /* If 'level' is not negative, send the message to the syslog */ > if (level >= 0)
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 258556
: 181607