linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFC: broken directory separators in acorn-generated isofs images
@ 2004-05-22 23:47 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-05-22 23:47 UTC (permalink / raw)
  To: linux-fsdevel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-22 23:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-22 23:47 RFC: broken directory separators in acorn-generated isofs images Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).