FreeBSD Bugzilla – Attachment 220283 Details for
Bug 251609
graphics/sane-epkowa: fails to load because of missing symbol isfdtype
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a patch to remove the Linuxism
patch-sanei_sanei__init__debug.c (text/plain), 408 bytes, created by
andy
on 2020-12-05 16:55:07 UTC
(
hide
)
Description:
a patch to remove the Linuxism
Filename:
MIME Type:
Creator:
andy
Created:
2020-12-05 16:55:07 UTC
Size:
408 bytes
patch
obsolete
>--- sanei/sanei_init_debug.c.orig 2020-12-04 22:33:53 UTC >+++ sanei/sanei_init_debug.c >@@ -100,7 +100,10 @@ sanei_debug_msg > > if (max_level >= level) > { >- if ( 1 == isfdtype(fileno(stderr), S_IFSOCK) ) >+ struct stat ss; >+ fstat(fileno(stderr), &ss); >+ >+ if (ss.st_mode & S_IFSOCK) > { > msg = (char *)malloc (sizeof(char) * (strlen(be) + strlen(fmt) + 4)); > if (msg == NULL)
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 251609
: 220283