Mailing List Archive

[Bug 2903] ssh-keyscan returns '0' when no keys are found

Damien Miller <> changed:

What |Removed |Added

Ahmed Sayeed <> changed:

What |Removed |Added
CC| |

--- Comment #3 from Damien Miller <> ---
Close bugs fixed in openssh-8.1 release cycle

--- Comment #4 from Ahmed Sayeed <> ---
/gdb/arch/arc.c:117:43: required from here
/usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: error: no
matching function for call to ‘std::pair<const arc_arch_features, const
std::unique_ptr<target_desc, target_desc_deleter>
: _M_v(std::forward<_Args>(__args)...) { }
/usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: note: candidates
In file included from /usr/include/c++/4.8.2/utility:70:0,
from /usr/include/c++/4.8.2/tuple:38,
from /usr/include/c++/4.8.2/functional:55,
from ../../gdb/../gdbsupport/ptid.h:35,
from ../../gdb/../gdbsupport/common-defs.h:123,
from ../../gdb/arch/arc.c:19:
/usr/include/c++/4.8.2/bits/stl_pair.h:206:9: note: template<class ...
_Args1, long unsigned int ..._Indexes1, class ... _Args2, long unsigned
int ..._Indexes2> std::pair<_T1,
_T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&,
std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>)
pair(tuple<_Args1...>&, tuple<_Args2...>&,
Thanks to Tome de Vries' investigation, same fix applies in ARC's case
as well:
diff --git a/gdb/arch/arc.c b/gdb/arch/arc.c
index 3808f9f..a5385ce 100644
--- a/gdb/arch/arc.c
+++ b/gdb/arch/arc.c
@@ -114,7 +114,7 @@ struct arc_arch_features_hasher
target_desc *tdesc = arc_create_target_description (features);

/* Add the newly created target description to the repertoire. */
- arc_tdesc_cache.emplace (features, tdesc);
+ arc_tdesc_cache.emplace (features, target_desc_up (tdesc));

You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
openssh-bugs mailing list