diff options
author | François Andriot <[email protected]> | 2015-04-03 22:25:17 +0200 |
---|---|---|
committer | François Andriot <[email protected]> | 2015-04-03 22:25:17 +0200 |
commit | 4f39408ad2532bcd1cf9c374d69db6600254d493 (patch) | |
tree | f945e58c93df5ac48f0680339cd1f097b967158a /redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch | |
parent | 871701198bf1b542e7e7c2d6c4d4955ce2c60629 (diff) | |
download | tde-packaging-4f39408ad2532bcd1cf9c374d69db6600254d493.tar.gz tde-packaging-4f39408ad2532bcd1cf9c374d69db6600254d493.zip |
RPM packaging: update kerberostray, kftpgrabber, kgtk_qt3, kile
Diffstat (limited to 'redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch')
-rw-r--r-- | redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch b/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch new file mode 100644 index 000000000..f8e019e63 --- /dev/null +++ b/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch @@ -0,0 +1,39 @@ +diff --git a/kftpgrabber/src/engine/ftpdirectoryparser.cpp b/kftpgrabber/src/engine/ftpdirectoryparser.cpp +index 981d0b6..71e2cd2 100644 +--- a/kftpgrabber/src/engine/ftpdirectoryparser.cpp ++++ b/kftpgrabber/src/engine/ftpdirectoryparser.cpp +@@ -421,6 +421,8 @@ bool FtpDirectoryParser::parseUnixPermissions(const TQString &permissions, Direc + if (permissions[9] == 't' || permissions[9] == 'T') p |= S_ISVTX; + + entry.setPermissions(p); ++ ++ return(p); + } + + bool FtpDirectoryParser::parseLine(const TQString &line, DirectoryEntry &entry) +diff --git a/kftpgrabber/src/misc/desencryptor.cpp b/kftpgrabber/src/misc/desencryptor.cpp +index 126fad7..fac681f 100644 +--- a/kftpgrabber/src/misc/desencryptor.cpp ++++ b/kftpgrabber/src/misc/desencryptor.cpp +@@ -65,8 +65,8 @@ void DESEncryptor::DESExec(const TQString &str, int mode) + char *o_message = (char*) malloc(8); + char *o_output = (char*) malloc(8); + +- memset(o_message, 0, 9); +- memset(o_output, 0, 9); ++ memset(o_message, 0, sizeof o_message); ++ memset(o_output, 0, sizeof o_output); + //out.resize(in.size() * 2); + + while (i < in.size()) { +@@ -79,8 +79,8 @@ void DESEncryptor::DESExec(const TQString &str, int mode) + i += 8; + + // Clear everything +- memset(o_message, 0, 9); +- memset(o_output, 0, 9); ++ memset(o_message, 0, sizeof o_message); ++ memset(o_output, 0, sizeof o_output); + } + + free(o_message); |