Displaying 8 results from an estimated 8 matches for "el_insertstr".
2007 Dec 12
0
Revisiting sftp tab completion patch
...+ list[count] = NULL;
+ }
+
+ if (count > 0) {
+ char *tmp = complete_ambiguous(cmd, list, count);
+
+ if (count > 1)
+ complete_display(list, 0);
+
+ for (y = 1; list[y]; y++)
+ xfree(list[y]);
+ xfree(list);
+
+ if (tmp != NULL) {
+ if (strlen(tmp) > strlen(cmd))
+ if (el_insertstr(el, tmp + strlen(cmd)) == -1)
+ fatal("el_insertstr failed.");
+
+ xfree(tmp);
+ }
+ }
+
+ return (count);
+}
+
+int
+complete_is_remote(char *cmd) {
+ int i;
+
+ if (cmd == NULL)
+ return (-1);
+
+ for (i = 0; cmds[i].c; i++) {
+ size_t cmdlen = strlen(cmds[i].c);
+
+ if (!strn...
2014 Apr 29
8
[Bug 2238] New: sftp exits on bad tab completion
...OS: OpenBSD
Status: NEW
Severity: minor
Priority: P5
Component: sftp
Assignee: unassigned-bugs at mindrot.org
Reporter: anthony at cathet.us
Enter a nonexistent filename ending with ' and press tab.
sftp will exit with "el_insertstr failed."
E.g.,
sftp> get /us'
next, hit tab
result:
sftp> get /us'el_insertstr failed.
$
--
You are receiving this mail because:
You are watching the assignee of the bug.
2006 Apr 01
0
sftp tab completion patch (First release - NOT FOR INCLUDING YET)
...);
+ if (count >= MAXLIST)
+ fatal("Exceeded MAXLIST.");
+ }
+ list[count] = NULL;
+ }
+
+ if (count > 0) {
+ tmp = complete_ambiguous(cmd, list, count);
+ for (y = 1; list[y]; y++)
+ xfree(list[y]);
+
+ if (tmp != NULL && strlen(tmp) > strlen(cmd)) {
+ if (el_insertstr(el, tmp + strlen(cmd)) == -1)
+ fatal("el_insertstr failed.");
+ xfree(tmp);
+ }
+ }
+
+ return (count);
+}
+
+int
+complete_is_remote(char *cmd) {
+ int i;
+
+ for (i = 0; cmds[i].c; i++) {
+ size_t cmdlen = strlen(cmds[i].c);
+
+ if (!strncasecmp(cmd, cmds[i].c, cmdlen))
+ re...
2013 May 26
10
[Bug 1990] sftp segfaults when tab-completing a directory which contains umlauts
https://bugzilla.mindrot.org/show_bug.cgi?id=1990
Corentin Delcourt <codl at codl.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |codl at codl.fr
--- Comment #8 from Corentin Delcourt <codl at codl.fr> ---
Note that Arch Linux's
2014 Oct 06
0
Announce: OpenSSH 6.7 released
...nd a
ProxyCommand is in use; continue and allow the ProxyCommand to
connect anyway (e.g. to a host with a name outside the DNS behind
a bastion)
* scp(1): When copying local->remote fails during read, don't send
uninitialised heap to the remote end.
* sftp(1): Fix fatal "el_insertstr failed" errors when tab-completing
filenames with a single quote char somewhere in the string;
bz#2238
* ssh-keyscan(1): Scan for Ed25519 keys by default.
* ssh(1): When using VerifyHostKeyDNS with a DNSSEC resolver, down-
convert any certificate keys to plain keys and attempt SS...
2014 Aug 18
15
Call for testing: OpenSSH 6.7
...nd a
ProxyCommand is in use; continue and allow the ProxyCommand to
connect anyway (e.g. to a host with a name outside the DNS behind
a bastion)
* scp(1): When copying local->remote fails during read, don't send
uninitialised heap to the remote end.
* sftp(1): Fix fatal "el_insertstr failed" errors when tab-completing
filenames with a single quote char somewhere in the string;
bz#2238
* ssh-keyscan(1): Scan for Ed25519 keys by default.
* ssh(1): When using VerifyHostKeyDNS with a DNSSEC resolver, down-
convert any certificate keys to plain keys and attempt SS...
2017 Jan 23
2
undefined symbols during linking LLDB 4.0 RC1
...000000000 DF *UND* 000000000000007a Base _ZNSt3__16thread6detachEv
0000000000000000 DF *UND* 0000000000000018 Base _ZNKSt3__16locale4nameEv
0000000000000000 DF *UND* 00000000000000a1 GLIBC_2.2.5 gethostname
0000000000000000 DF *UND* 000000000000007a Base el_insertstr
0000000000000000 DF *UND* 0000000000000307 GLIBC_2.2.5 fdopen
0000000000000000 DF *UND* 000000000000058e Base _ZNSt3__16__sortIRNS_6__lessIllEEPlEEvT0_S5_T_
0000000000000000 DF *UND* 000000000000016d GLIBC_2.2.5 pthread_join
0000000000000000 DF *UND* 000000000000001b...
2017 Jan 19
2
undefined symbols during linking LLDB 4.0 RC1
Hello, I update my building scripts to build LLVM 4.0 RC1 (with clang, lldb, libc++, libc++abi, lld) on CentOS 6 and I got a lot of undefined symbols during linking LLDB.
I'm using clang-3.9 and this configuration:
-DLLVM_TARGETS_TO_BUILD="X86"
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_C_COMPILER=/usr/bin/clang
-DCMAKE_CXX_COMPILER=/usr/bin/clang++