diff options
author | djm@openbsd.org <djm@openbsd.org> | 2021-01-08 02:44:14 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-01-08 13:50:46 +1100 |
commit | 64ddd0fe68c4a7acf99b78624f8af45e919cd317 (patch) | |
tree | 8260aab5183dbb9537db2602375fe7b985762eb3 /sshconnect2.c | |
parent | 599df78f3008cf78af21f8977be3e1dd085f8e2e (diff) | |
download | openssh-git-64ddd0fe68c4a7acf99b78624f8af45e919cd317.tar.gz |
upstream: don't try to use timespeccmp(3) directly as a qsort(3)
comparison function - it returns 0/1 and not the -1/0/1 that qsort expectes.
fixes sftp "ls -ltr" under some circumstances.
Based on patch by Masahiro Matsuya via bz3248.
OpenBSD-Commit-ID: 65b5e9f18bb0d10573868c3516de6e5170adb163
Diffstat (limited to 'sshconnect2.c')
0 files changed, 0 insertions, 0 deletions