search for: i_chdir

Displaying 3 results from an estimated 3 matches for "i_chdir".

Did you mean: __chdir
2006 Apr 01
0
sftp tab completion patch (First release - NOT FOR INCLUDING YET)
...ITESPACE " \t\r\n" @@ -108,42 +111,49 @@ struct CMD { const char *c; const int n; + const int t; }; +/* Type of completion */ +#define NOARGS 0 +#define REMOTE 1 +#define LOCAL 2 + + static const struct CMD cmds[] = { - { "bye", I_QUIT }, - { "cd", I_CHDIR }, - { "chdir", I_CHDIR }, - { "chgrp", I_CHGRP }, - { "chmod", I_CHMOD }, - { "chown", I_CHOWN }, - { "dir", I_LS }, - { "exit", I_QUIT }, - { "get", I_GET }, - { "mget", I_GET }, - { "help", I_HELP }, - { &q...
2007 Dec 12
0
Revisiting sftp tab completion patch
...HITESPACE " \t\r\n" @@ -115,42 +121,49 @@ struct CMD { const char *c; const int n; + const int t; }; +/* Type of completion */ +#define NOARGS 0 +#define REMOTE 1 +#define LOCAL 2 + + static const struct CMD cmds[] = { - { "bye", I_QUIT }, - { "cd", I_CHDIR }, - { "chdir", I_CHDIR }, - { "chgrp", I_CHGRP }, - { "chmod", I_CHMOD }, - { "chown", I_CHOWN }, - { "dir", I_LS }, - { "exit", I_QUIT }, - { "get", I_GET }, - { "mget", I_GET }, - { "help", I_HELP }, - { &q...
2002 Nov 05
0
[PATCH] Add getlink command to sftp
...printf("lls [ls-options [path]] Display local directory listing\n"); printf("ln oldpath newpath Symlink remote file\n"); printf("lmkdir path Create local directory\n"); *************** *** 582,587 **** --- 585,591 ---- case I_CHDIR: case I_LCHDIR: case I_LMKDIR: + case I_GETLINK: /* Get pathname (mandatory) */ if (get_pathname(&cp, path1)) return(-1); *************** *** 682,687 **** --- 686,695 ---- case I_SYMLINK: path2 = make_absolute(path2, *pwd); err = do_symlink(conn, path1, path2); +...