summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-08-03 08:25:28 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-08-03 08:25:28 +0000
commit252f16db02a2fdf888d1bb833fabe408d5fabd51 (patch)
tree032f827e6e49007fa71e69cb4947879bbf736b47
parent72f5d6ba46709bb2b58b5493ffa12135ea66ee00 (diff)
downloadgnurl-252f16db02a2fdf888d1bb833fabe408d5fabd51.tar.gz
gnurl-252f16db02a2fdf888d1bb833fabe408d5fabd51.tar.bz2
gnurl-252f16db02a2fdf888d1bb833fabe408d5fabd51.zip
remove left-over partly support for libssh2 0.14
-rw-r--r--lib/ssh.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 4d2db8128..332ae9da2 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -127,44 +127,6 @@
have their definition hidden well */
#endif
-#ifndef LIBSSH2_SFTP_S_IRUSR
-/* Here's a work-around for those of you who happend to run a libssh2 version
- that is 0.14 or older. We should remove this kludge as soon as we can
- require a more recent libssh2 release. */
-#ifndef S_IRGRP
-#define S_IRGRP 0
-#endif
-
-#ifndef S_IROTH
-#define S_IROTH 0
-#endif
-
-/* File mode */
-/* Read, write, execute/search by owner */
-#define LIBSSH2_SFTP_S_IRWXU S_IRWXU /* RWX mask for owner */
-#define LIBSSH2_SFTP_S_IRUSR S_IRUSR /* R for owner */
-#define LIBSSH2_SFTP_S_IWUSR S_IWUSR /* W for owner */
-#define LIBSSH2_SFTP_S_IXUSR S_IXUSR /* X for owner */
-/* Read, write, execute/search by group */
-#define LIBSSH2_SFTP_S_IRWXG S_IRWXG /* RWX mask for group */
-#define LIBSSH2_SFTP_S_IRGRP S_IRGRP /* R for group */
-#define LIBSSH2_SFTP_S_IWGRP S_IWGRP /* W for group */
-#define LIBSSH2_SFTP_S_IXGRP S_IXGRP /* X for group */
-/* Read, write, execute/search by others */
-#define LIBSSH2_SFTP_S_IRWXO S_IRWXO /* RWX mask for other */
-#define LIBSSH2_SFTP_S_IROTH S_IROTH /* R for other */
-#define LIBSSH2_SFTP_S_IWOTH S_IWOTH /* W for other */
-#define LIBSSH2_SFTP_S_IXOTH S_IXOTH /* X for other */
-
-/* File type */
-#define LIBSSH2_SFTP_S_IFMT S_IFMT /* type of file mask */
-#define LIBSSH2_SFTP_S_IFDIR S_IFDIR /* directory */
-#define LIBSSH2_SFTP_S_IFLNK S_IFLNK /* symbolic link */
-#define LIBSSH2_SFTP_S_IFSOCK S_IFSOCK /* socket */
-#define LIBSSH2_SFTP_S_IFCHR S_IFCHR /* character special */
-#define LIBSSH2_SFTP_S_IFBLK S_IFBLK /* block special */
-#endif
-
/* Local functions: */
static const char *sftp_libssh2_strerror(unsigned long err);
static LIBSSH2_ALLOC_FUNC(libssh2_malloc);