Displaying 4 results from an estimated 4 matches for "el_line".
Did you mean:
ll_line
2006 Apr 01
0
sftp tab completion patch (First release - NOT FOR INCLUDING YET)
...");
+ xfree(tmp);
+ }
+ return (g.gl_matchc);
+}
+
+unsigned char
+complete(EditLine *el, int ch)
+{
+ const LineInfo *lf;
+ size_t len, pos;
+ char *line;
+ int argc = 0, ap_loc = 0, ap_cur = 0;
+ #define MAXARG 99
+ char **ap, *argv[MAXARG];
+
+ ch = ch; /* not used */
+ lf = el_line(el);
+ len = lf->lastchar - lf->buffer + 1;
+ line = (char *)malloc(len);
+ strlcpy(line, lf->buffer, len);
+ pos = len - (lf->lastchar - lf->cursor);
+
+ /* build an array of items */
+ for (ap = argv; ap < &argv[MAXARG - 1] &&
+ (*ap = strsep(&line, " &q...
2007 Dec 12
0
Revisiting sftp tab completion patch
...ertstr(el, "\\ ") == -1)
+ fatal("el_insertstr failed.");
+ }
+ }
+ }
+
+ xfree(tmp);
+ }
+
+ return (g.gl_matchc);
+}
+
+unsigned char
+complete(EditLine *el, int ch)
+{
+ char **argv, *line;
+ u_int x, argc, carg, len, ret = CC_ERROR;
+ const LineInfo *lf;
+
+ lf = el_line(el);
+
+ /* Figure out which argument we are on */
+ len = lf->cursor - lf->buffer + 1;
+ line = (char *)xmalloc(len);
+ strlcpy(line, lf->buffer, len);
+ argv = makeargv(line, &carg);
+ xfree(line);
+
+ /* now get the real argument */
+ len = lf->lastchar - lf->buffer + 1;
+ lin...
2017 Jan 23
2
undefined symbols during linking LLDB 4.0 RC1
...0000000222 GLIBC_2.2.5 pow
0000000000000000 DF *UND* 00000000000000f3 Base _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendERKS5_mm
0000000000000000 DF *UND* 00000000000000e1 GLIBC_2.2.5 vsnprintf
0000000000000000 DF *UND* 0000000000000005 Base el_line
0000000000000000 DF *UND* 000000000000009a Base _ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPcl
0000000000000000 DF *UND* 0000000000002017 GLIBC_2.2.5 sin
0000000000000000 DF *UND* 0000000000000088 GLIBC_2.2.5 getpwent
0000000000000000 DF *UND* 00000000000...
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++