Bugzilla – Attachment 3342 Details for
Bug 3102
Compilation error in sshbuf-misc.c on IRIX 6.5 with MIPSPro 7.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
check if memmem is declared and use for compat prototype
openssh-memmem.patch (text/plain), 730 bytes, created by
Darren Tucker
on 2019-12-09 12:55:14 AEDT
(
hide
)
Description:
check if memmem is declared and use for compat prototype
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2019-12-09 12:55:14 AEDT
Size:
730 bytes
patch
obsolete
>diff --git a/configure.ac b/configure.ac >index a12fc0d1..6e70e52c 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -1873,7 +1873,7 @@ AC_CHECK_FUNCS([ \ > warn \ > ]) > >-AC_CHECK_DECLS([bzero]) >+AC_CHECK_DECLS([bzero, memmem]) > > dnl Wide character support. > AC_CHECK_FUNCS([mblen mbtowc nl_langinfo wcwidth]) >diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h >index afe882f9..8c97173b 100644 >--- a/openbsd-compat/openbsd-compat.h >+++ b/openbsd-compat/openbsd-compat.h >@@ -74,7 +74,7 @@ int getpagesize(void); > char *getcwd(char *pt, size_t size); > #endif > >-#ifndef HAVE_MEMMEM >+#if defined(HAVE_DECL_MEMMEM) && HAVE_DECL_MEMMEM == 0 > void *memmem(const void *, size_t, const void *, size_t); > #endif >
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 3102
: 3342