1. 03 Feb, 2012 1 commit
  2. 14 Dec, 2010 1 commit
  3. 24 Aug, 2009 1 commit
    • Niels Möller's avatar
      Moved sftp tree, and stopped using automake. · 3d3935d7
      Niels Möller authored
      Rev: sftp/.bootstrap:1.1
      Rev: sftp/.c-style:1.1
      Rev: sftp/.cvsignore:1.1
      Rev: sftp/ChangeLog:1.1
      Rev: sftp/buffer.c:1.1
      Rev: sftp/buffer.h:1.1
      Rev: sftp/client.c:1.1
      Rev: sftp/client.h:1.1
      Rev: sftp/commands.c:1.1
      Rev: sftp/commands.h:1.1
      Rev: sftp/configure.ac:1.1
      Rev: sftp/dc.c:1.1
      Rev: sftp/dc.h:1.1
      Rev: sftp/debug-server:1.1
      Rev: sftp/dump-hex.c:1.1
      Rev: sftp/filemode.c:1.1
      Rev: sftp/filemode.h:1.1
      Rev: sftp/gnu_stuff.c:1.1
      Rev: sftp/gnu_stuff.h:1.1
      Rev: sftp/idcache.c:1.1
      Rev: sftp/idcache.h:1.1
      Rev: sftp/io.h:1.1
      Rev: sftp/io_input.c:1.1
      Rev: sftp/io_output.c:1.1
      Rev: sftp/lsftp.1:1.1
      Rev: sftp/lsftp.c:1.1
      Rev: sftp/lsftp.h:1.1
      Rev: sftp/misc_fun.c:1.1
      Rev: sftp/misc_fun.h:1.1
      Rev: sftp/rl.c:1.1
      Rev: sftp/rl.h:1.1
      Rev: sftp/sftp-server.8:1.1
      Rev: sftp/sftp-server.c:1.1
      Rev: sftp/sftp-test-client.c:1.1
      Rev: sftp/sftp.h:1.1
      Rev: sftp/sftp_bind.c:1.1
      Rev: sftp/sftp_bind.h:1.1
      Rev: sftp/sftp_c.c:1.1
      Rev: sftp/sftp_c.h:1.1
      Rev: sftp/str_utils.c:1.1
      Rev: sftp/str_utils.h:1.1
      Rev: sftp/testsuite/.cvsignore:1.1
      Rev: sftp/testsuite/common.sh:1.1
      Rev: sftp/testsuite/connect-test:1.1
      Rev: sftp/testsuite/get-1-test:1.1
      Rev: sftp/testsuite/ls-1-test:1.1
      Rev: sftp/testsuite/ls-2-test:1.1
      Rev: sftp/testsuite/put-1-test:1.1
      Rev: sftp/testsuite/setup-env:1.1
      Rev: sftp/testsuite/teardown-env:1.1
      Rev: sftp/werror.c:1.1
      Rev: sftp/werror.h:1.1
      Rev: sftp/xmalloc.c:1.1
      Rev: sftp/xmalloc.h:1.1
      3d3935d7
  4. 20 May, 2003 1 commit
  5. 16 May, 2003 1 commit
    • Niels Möller's avatar
      * Changed include file ordering, to follow the same conventions as · a2b18545
      Niels Möller authored
      lsh and nettle: .c-files include config.h first, then system
      files, and finally sftp files. .h-files never include config.h,
      and they include system files before sftp files.
      
      Rev: src/sftp/ChangeLog:1.49
      Rev: src/sftp/buffer.c:1.18
      Rev: src/sftp/buffer.h:1.12
      Rev: src/sftp/client.c:1.6
      Rev: src/sftp/commands.c:1.15
      Rev: src/sftp/dc.c:1.6
      Rev: src/sftp/dc.h:1.4
      Rev: src/sftp/filemode.c:1.2
      Rev: src/sftp/gnu_stuff.c:1.8
      Rev: src/sftp/gnu_stuff.h:1.4
      Rev: src/sftp/idcache.c:1.4
      Rev: src/sftp/io_input.c:1.3
      Rev: src/sftp/io_output.c:1.3
      Rev: src/sftp/lsftp.c:1.6
      Rev: src/sftp/lsftp.h:1.2
      Rev: src/sftp/misc_fun.c:1.4
      Rev: src/sftp/misc_fun.h:1.3
      Rev: src/sftp/rl.c:1.9
      Rev: src/sftp/rl.h:1.4
      Rev: src/sftp/sftp-server.c:1.21
      Rev: src/sftp/sftp-test-client.c:1.14
      Rev: src/sftp/sftp_bind.c:1.15
      Rev: src/sftp/sftp_bind.h:1.9
      Rev: src/sftp/sftp_c.c:1.8
      Rev: src/sftp/sftp_c.h:1.6
      Rev: src/sftp/str_utils.c:1.7
      Rev: src/sftp/str_utils.h:1.4
      Rev: src/sftp/werror.c:1.3
      Rev: src/sftp/werror.h:1.3
      Rev: src/sftp/xmalloc.c:1.3
      a2b18545
  6. 26 Feb, 2003 1 commit
    • Pontus Freyhult's avatar
      * sftp_bind.c (lsftp_handle_packet): Only free(a) if free_a is · 39f40473
      Pontus Freyhult authored
      set.
      (lsftp_nullcb): Init free_a to false.
      (lsftp_do_stat): Explicitly clear free_a.
      (lsftp_do_chown): Set free_a.
      (lsftp_do_chmod): dito.
      (lsftp_handle_chall): Respect free_a.
      
      * sftp_bind.h (struct lsftp_callback): New flag, free_a.
      
      * buffer.h: If available, include <stdint.h> and <inttypes.h>.
      
      * sftp_c.h: Dito.
      
      * configure.ac: Also check for stdint.h.
      
      Rev: src/sftp/ChangeLog:1.47
      Rev: src/sftp/buffer.h:1.11
      Rev: src/sftp/configure.ac:1.17
      Rev: src/sftp/sftp_bind.c:1.14
      Rev: src/sftp/sftp_bind.h:1.8
      Rev: src/sftp/sftp_c.h:1.5
      39f40473
  7. 23 Feb, 2003 1 commit
    • Niels Möller's avatar
      * sftp_bind.h (struct lsftp_callback): Deleted stat pointer. · d6413e5d
      Niels Möller authored
      * sftp_bind.c (lsftp_do_stat): Use a struct sftp_attrib for
      reporting the result, not a struct stat.
      (lsftp_handle_stat): Just copy the sftp_attrib struct, don't try
      converting it to a struct stat.
      
      Rev: src/sftp/sftp_bind.c:1.13
      Rev: src/sftp/sftp_bind.h:1.7
      d6413e5d
  8. 27 Jun, 2002 1 commit
  9. 06 Jun, 2002 1 commit
    • Pontus Freyhult's avatar
      * commands.c (com_lpwd): Don't assume getcwd with extended · e7873f42
      Pontus Freyhult authored
      functionality, use 8192 as a fallback if PATH_MAX is undefined.
      
      * configure.ac: Check for canonicalize_file_name.
      
      * commands.c (get_file_or_folder): Use canonicalize_file_name
      instead of realpath.
      (put_file_or_folder): Dito.
      
      * gnu_stuff.c: Added compability function for systems without
      canonicalize_file_name.
      
      * gnu_stuff.h: Declaration of compability function.
      
      * str_utils.h: Changed declaration of lsftp_s_strtok, take a char** to
      fill in with a new allocated string instead of a buffer and it's
      length.
      
      * str_utils.c (lsftp_s_strtok): See above.
      
      * commands.c: Changed to use the new lsftp_s_strtok.
      
      * rl.c (lsftp_rl_completion): Dito.
      
      * sftp_bind.c (lsftp_open_connection): Dito.
      
      Rev: src/sftp/ChangeLog:1.31
      Rev: src/sftp/commands.c:1.11
      Rev: src/sftp/configure.ac:1.12
      Rev: src/sftp/gnu_stuff.c:1.5
      Rev: src/sftp/gnu_stuff.h:1.3
      Rev: src/sftp/rl.c:1.6
      Rev: src/sftp/sftp_bind.c:1.11
      Rev: src/sftp/str_utils.c:1.3
      Rev: src/sftp/str_utils.h:1.3
      e7873f42
  10. 25 May, 2002 1 commit
  11. 23 May, 2002 2 commits
  12. 27 Mar, 2002 1 commit
  13. 25 Mar, 2002 1 commit
    • Pontus Freyhult's avatar
      Use fds instead of FILE*s · ef87a324
      Pontus Freyhult authored
      Rev: src/sftp/buffer.c:1.12
      Rev: src/sftp/buffer.h:1.8
      Rev: src/sftp/sftp-test-client.c:1.11
      Rev: src/sftp/sftp_bind.c:1.6
      Rev: src/sftp/sftp_c.c:1.5
      ef87a324
  14. 25 Feb, 2002 2 commits
  15. 11 Feb, 2002 1 commit
  16. 07 Feb, 2002 1 commit
    • Niels Möller's avatar
      (lsftp_open_connection): Bugfix, don't use · 48d53f81
      Niels Möller authored
      i and i++ in the same expression.
      (lsftp_wait_not_eof): #if:ed out, not used anywhere.
      (lsftp_remove_sftp_cb): Likewise.
      Constness fixes, changed calling conventions not to pass and
      return structs.
      
      Rev: src/sftp/sftp_bind.c:1.2
      Rev: src/sftp/sftp_bind.h:1.2
      48d53f81
  17. 06 Feb, 2002 1 commit
    • Pontus Sköld's avatar
      Checked in Pontus Sköld's lsftp client. · 92654638
      Pontus Sköld authored
      * src/sftp/Makefile.am (lsftp_SOURCES):
      * src/sftp/commands.c: New file.
      * src/sftp/commands.h: New file.
      * src/sftp/dc.c: New file.
      * src/sftp/dc.h: New file.
      * src/sftp/lsftp.c: New file.
      * src/sftp/lsftp.h: New file.
      * src/sftp/misc_fun.c: New file.
      * src/sftp/misc_fun.h: New file.
      * src/sftp/rl.c: New file.
      * src/sftp/rl.h: New file.
      * src/sftp/sftp_bind.c: New file.
      * src/sftp/sftp_bind.h: New file.
      * src/sftp/sftp_c.c: New file.
      * src/sftp/sftp_c.h: New file.
      * src/sftp/str_utils.c: New file.
      * src/sftp/str_utils.h: New file.
      
      Rev: src/sftp/commands.c:1.1
      Rev: src/sftp/commands.h:1.1
      Rev: src/sftp/dc.c:1.1
      Rev: src/sftp/dc.h:1.1
      Rev: src/sftp/lsftp.c:1.1
      Rev: src/sftp/lsftp.h:1.1
      Rev: src/sftp/misc_fun.c:1.1
      Rev: src/sftp/misc_fun.h:1.1
      Rev: src/sftp/rl.c:1.1
      Rev: src/sftp/rl.h:1.1
      Rev: src/sftp/sftp_bind.c:1.1
      Rev: src/sftp/sftp_bind.h:1.1
      Rev: src/sftp/sftp_c.c:1.1
      Rev: src/sftp/sftp_c.h:1.1
      Rev: src/sftp/str_utils.c:1.1
      Rev: src/sftp/str_utils.h:1.1
      92654638