kerneltest/f32test/filesystem/fat/t_scn32dr1.cpp
branchRCL_3
changeset 294 039a3e647356
parent 257 3e88ff8f41d5
--- a/kerneltest/f32test/filesystem/fat/t_scn32dr1.cpp	Wed Sep 15 13:42:27 2010 +0300
+++ b/kerneltest/f32test/filesystem/fat/t_scn32dr1.cpp	Wed Oct 13 16:04:24 2010 +0300
@@ -580,18 +580,6 @@
     aName.SetLength(i);
     }
 
-TDes& MakePrintable(TDes& aDes)
-	{
-	TInt len = aDes.Length();
-
-	for (TInt i=0; i<len; i++)
-		{
-		if ((TUint8) aDes[i] < 0x20)
-			aDes[i] = '?';
-		}
-	return aDes;
-	}
-
 GLDEF_C TBool DumpDirEntry(TInt aNum, const TUint8* aEntry)
 //
 // Dump a single directory entry to the log.  Return false if it was end of
@@ -615,9 +603,9 @@
         ExtractNameString(name, aEntry);
         TInt ord = aEntry[0];
         if (ord & KDirLastLongEntry)
-            RDebug::Print(_L("%5d: %-15S #%-2d LAST"), aNum, &MakePrintable(name), ord & ~KDirLastLongEntry);
+            RDebug::Print(_L("%5d: %-15S #%-2d LAST"), aNum, &name, ord & ~KDirLastLongEntry);
         else
-            RDebug::Print(_L("%5d: %-15S #%-2d"), aNum, &MakePrintable(name), ord & ~KDirLastLongEntry);
+            RDebug::Print(_L("%5d: %-15S #%-2d"), aNum, &name, ord & ~KDirLastLongEntry);
         }
     else if (!IsValidDirEntry(d))
         {
@@ -630,7 +618,7 @@
         TBuf<11> name;
         name.Copy(d->Name());
         RDebug::Print(_L("%5d: '%S'   %S  start %-5d size %d"),
-                      aNum, &MakePrintable(name), DirAttributes(d->Attributes()), d->StartCluster(), d->Size());
+                      aNum, &name, DirAttributes(d->Attributes()), d->StartCluster(), d->Size());
         }
     return ETrue;
     }