Browse Source

* extfs/iso9660.in: Ignore error messages from locale(1), as it
does not exist on OpenBSD. Reported by q# on mc-devel.

Roland Illig 19 years ago
parent
commit
4972324b16
2 changed files with 6 additions and 1 deletions
  1. 5 0
      vfs/ChangeLog
  2. 1 1
      vfs/extfs/iso9660.in

+ 5 - 0
vfs/ChangeLog

@@ -1,3 +1,8 @@
+2005-09-26  Roland Illig  <roland.illig@gmx.de>
+
+	* extfs/iso9660.in: Ignore error messages from locale(1), as it
+	does not exist on OpenBSD. Reported by q# on mc-devel.
+
 2005-09-26  Roland Illig  <roland.illig@gmx.de>
 
 	* utilvfs.h (vfs_parse_filetype, vfs_parse_fileperms,

+ 1 - 1
vfs/extfs/iso9660.in

@@ -65,7 +65,7 @@ mcisofs_copyout () {
 	$ISOINFO -i "$1" -x "/$2" > "$3" 
 }
 
-save_ctype=`locale | grep LC_CTYPE`
+save_ctype=`locale 2>/dev/null | grep LC_CTYPE`
 LC_ALL=C
 
 cmd="$1"