Re: [PATCH] shm fs v2 against 2.3.41

From: almesber@lrc.di.epfl.ch
Date: Tue Feb 01 2000 - 22:44:30 EST


Miquel van Smoorenburg wrote:
[ Introduction of a "magic" // with // != / ]
> It would take quite a bit of changes in VFS though, I think

The changes in VFS should actually be simple, but you'd also also have to
check/change all programs that do

sprintf(path,"%s/%s",dir,file);
$path = $dir."/".$file;
path=$dir/$file
path = dir "/" file;
canonical_path = *path == '/' ? path : sprintf(buf,"%s/%s",getcwd(NULL,0),path);
etc.

(Even if only // is magic, but //foo isn't.)

Good luck, Y2K was easy in comparison ;-)

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH       werner.almesberger@ica.epfl.ch /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:07 EST