From: nobu.nokada@... Date: 2003-03-27T03:38:59+09:00 Subject: Re: Hurd and ruby 1.8preview2 Hi, At Thu, 27 Mar 2003 03:09:06 +0900, Manfred Hansen wrote: > i have compiled ruby 1.8preview2 on Hurd. > > This is what i have change: What trouble did you have exactly? > - open(file){|f|f.read} == str > + open(file,File::CREAT|File::TRUNC|File::RDWR, 0644){|f|f.read} == str File::TRUNC means making opened file empty. This modification doesn't seem correct. > - unless FileTest.exist? d and cmp(s,d) > - remove_file d, true > + #unless FileTest.exist? d and cmp(s,d) > + # remove_file d, true > copy_file s, d > File.chmod mode, d if mode > - end > + #end Ditto. File operations don't work at all? -- Nobu Nakada