From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: RFC: broken directory separators in acorn-generated isofs images Date: Sun, 23 May 2004 01:47:45 +0200 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040522234745.GA3898@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from verein.lst.de ([212.34.189.10]:6026 "EHLO mail.lst.de") by vger.kernel.org with ESMTP id S261987AbUEVXrr (ORCPT ); Sat, 22 May 2004 19:47:47 -0400 Received: from verein.lst.de (localhost [127.0.0.1]) by mail.lst.de (8.12.3/8.12.3/Debian-6.6) with ESMTP id i4MNljQc003914 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 23 May 2004 01:47:45 +0200 Received: (from hch@localhost) by verein.lst.de (8.12.3/8.12.3/Debian-6.6) id i4MNljd8003912 for linux-fsdevel@vger.kernel.org; Sun, 23 May 2004 01:47:45 +0200 To: linux-fsdevel@vger.kernel.org Content-Disposition: inline List-Id: linux-fsdevel.vger.kernel.org This is a really old patch from the Debian kernel package, and I wonder whethere there's any way in which it could be harmfull. * Fix slashes in broken Acorn ISO9660 images in fs/isofs/dir.c (Darren Salt) --- kernel-source-2.6.6/fs/isofs/dir.c 2004-03-11 13:55:43.000000000 +1100 +++ kernel-source-2.6.6-1/fs/isofs/dir.c 2002-12-30 12:30:58.000000000 +1100 @@ -64,7 +64,8 @@ break; /* Convert remaining ';' to '.' */ - if (c == ';') + /* Also '/' to '.' (broken Acorn-generated ISO9660 images) */ + if (c == ';' || c == '/') c = '.'; new[i] = c;