extfs/iso9660.in



Hi,

See attached patch for 2 fixes for iso9660.in.

Also verified bpp to be correct. Can also be removed from the TODO list.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

--- iso9660.in.000	2003-04-29 20:21:41.000000000 +0200
+++ iso9660.in	2004-10-26 10:15:29.000000000 +0200
@@ -9,7 +9,7 @@
 # tested to comply with isoinfo 2.0's output
 
 test_iso () {
-    CHARSET=`echo $save_ctype | sed -n -e 's/.*\.\(.*\)"$/\1/p' |tr '[A-Z]' '[a-z]'`
+    CHARSET=`echo "$save_ctype" | sed -n -e 's/.*\.\(.*\)"$/\1/p' | tr '[A-Z]' '[a-z]'`
     if test -n "$CHARSET"; then
 	isoinfo -j $CHARSET 2>&1 | grep "Unknown charset" >/dev/null && CHARSET=
     fi
@@ -46,7 +46,7 @@ BEGIN {
   dir=substr($0, 23);
   next;
 }
-{ $11 != "" } {
+{ "x$11" != "x" } {
   name=$0
   sub(rx, "", name)
   attr=substr($0, 1, length($0)-length(name))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]