summaryrefslogtreecommitdiffstats
path: root/redhat/kdeadmin/bp004-1f719050.diff
diff options
context:
space:
mode:
authorFrancois Andriot <[email protected]>2012-05-05 11:33:09 +0200
committerFrancois Andriot <[email protected]>2012-05-05 11:33:09 +0200
commitdcfb68136c0561ba4bcbef1336ff6f02b49c8900 (patch)
tree452dfc902693c31d8b5c4a088c63f56878073862 /redhat/kdeadmin/bp004-1f719050.diff
parentf345812d8248f8a1c6a062cb5af470a9f44b0dc0 (diff)
downloadtde-packaging-dcfb68136c0561ba4bcbef1336ff6f02b49c8900.tar.gz
tde-packaging-dcfb68136c0561ba4bcbef1336ff6f02b49c8900.zip
RHEL/Fedora: updates main components
Diffstat (limited to 'redhat/kdeadmin/bp004-1f719050.diff')
-rw-r--r--redhat/kdeadmin/bp004-1f719050.diff32
1 files changed, 32 insertions, 0 deletions
diff --git a/redhat/kdeadmin/bp004-1f719050.diff b/redhat/kdeadmin/bp004-1f719050.diff
new file mode 100644
index 000000000..97e90ba30
--- /dev/null
+++ b/redhat/kdeadmin/bp004-1f719050.diff
@@ -0,0 +1,32 @@
+commit 1f71905047d874cdc6c63049e566a4d7b976b0fc
+Author: Timothy Pearson <[email protected]>
+Date: 1327530712 -0600
+
+ Fix linear alphabet string errors
+
+diff --git a/kcron/ctcron.cpp b/kcron/ctcron.cpp
+index e470a72..f5cb04c 100644
+--- a/kcron/ctcron.cpp
++++ b/kcron/ctcron.cpp
+@@ -178,7 +178,7 @@ istream& operator >> (istream& inputStream, CTCron& cron)
+ if ((line.find("#") == 0) && (line.find("\\") != 1))
+ {
+ // If the first 10 characters don't contain a character, it's probably a disabled entry.
+- int first_text = line.find_first_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ");
++ int first_text = line.find_first_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");
+ if (first_text < 0)
+ continue;
+
+diff --git a/kuser/misc.cpp b/kuser/misc.cpp
+index 6b26a72..c16f563 100644
+--- a/kuser/misc.cpp
++++ b/kuser/misc.cpp
+@@ -135,7 +135,7 @@ void addShell(const TQString &shell)
+ TQCString genSalt( int len )
+ {
+ TQCString salt( len + 1 );
+- const char * set = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ0123456789./";
++ const char * set = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./";
+
+ salt[0] = set[getpid() % strlen(set)];
+ for( int i = 1; i < len; i++ ) {