summaryrefslogtreecommitdiffstats
path: root/redhat/tdeutils/kdf-3.0.2-label.patch
blob: 6ea6204724252799fbbc32348acc24d0ae35c920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);