summaryrefslogtreecommitdiffstats
path: root/redhat/tdeutils/kdf-3.0.2-label.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdeutils/kdf-3.0.2-label.patch')
-rw-r--r--redhat/tdeutils/kdf-3.0.2-label.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/redhat/tdeutils/kdf-3.0.2-label.patch b/redhat/tdeutils/kdf-3.0.2-label.patch
new file mode 100644
index 000000000..6ea620472
--- /dev/null
+++ b/redhat/tdeutils/kdf-3.0.2-label.patch
@@ -0,0 +1,13 @@
+--- kdeutils-3.0.3/kdf/disklist.cpp.label 2002-08-19 14:36:13.000000000 +0200
++++ kdeutils-3.0.3/kdf/disklist.cpp 2002-08-19 14:37:34.000000000 +0200
+@@ -163,8 +163,9 @@
+ while (! t.eof()) {
+ s=t.readLine();
+ s=s.simplifyWhiteSpace();
+- if ( (!s.isEmpty() ) && (s.find(DELIMITER)!=0) ) {
++ if ( (!s.isEmpty() ) && (s.find(DELIMITER)!=0) && (s.find("LABEL")!=0) ) {
+ // not empty or commented out by '#'
++ // skip LABEL entries as long as kdf can't handle them properly
+ // kdDebug() << "GOT: [" << s << "]" << endl;
+ disk = new DiskEntry();// Q_CHECK_PTR(disk);
+ disk->setMounted(FALSE);