search for: makeargv

Displaying 5 results from an estimated 5 matches for "makeargv".

2007 Dec 12
0
Revisiting sftp tab completion patch
...ditLine *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; + line = (char *)xmalloc(len); + strlcpy(line, lf->buffer, len); + argv = makeargv(line, &argc); + xfree(line); + + if (carg == 1) { /* Handle the command parsing */ + if (comp...
2015 May 25
0
[Bug 1596] Option parser does not permit a double-quote character to occur in option values
...moved |Added ---------------------------------------------------------------------------- Blocks|2360 |2403 --- Comment #23 from Damien Miller <djm at mindrot.org> --- auth2-pubkey.c's split_argv() would be better choice than sftp.c:makeargv(), as the latter has a bunch of goop to deal with glob characters that isn't relevant to argument parsing. Another option is a more drastic replacement of the config language, which has been discussed a little. -- You are receiving this mail because: You are watching the assignee of the bug....
2005 May 30
0
compiling tftp-hpa-040 under Solaris 8
...OURCE - D_XOPEN_SOURCE_EXTENDED -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno- strict-aliasing -I/usr/src/tftp-hpa-0.40 -c main.c main.c: In function `makeargv': main.c:816: warning: subscript has type `char' main.c:822: warning: subscript has type `char' gcc -g -O2 -D_XPG4_2 -D_XOPEN_SOURCE -D__EXTENSIONS__ -D_BSD_SOURCE -D_ISO9X_SOURCE -D_OSF_SOURCE - D_XOPEN_SOURCE_EXTENDED -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes...
2009 May 07
13
[Bug 1596] New: Option parser does not permit a double-quote character to occur in option values
https://bugzilla.mindrot.org/show_bug.cgi?id=1596 Summary: Option parser does not permit a double-quote character to occur in option values Product: Portable OpenSSH Version: 5.2p1 Platform: All OS/Version: All Status: NEW Keywords: low-hanging-fruit Severity: normal Priority: P2
2010 Aug 09
8
Call for testing: OpenSSH-5.6
Hi, OpenSSH 5.6 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This is a moderately large release, with a number of new features and bug fixes. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The OpenBSD version is available in CVS HEAD: http://www.openbsd.org/anoncvs.html Portable OpenSSH