Re: [patch gcc c++ c-family java fortan lto]: Fix DOS-filesystem issues

2011-03-21 Thread Kai Tietz
PING 2011/3/15 Kai Tietz : > 2011/3/15 Pedro Alves : >> Thanks. >> >> This looks like lbasename-able as well, getting rid of >> that HAVE_DOS...-ish foo: > > Thanks. Yes, that one I missed. > > Attached updated version of patch. > > Kai > -- |  (\_/) This is Bunny. Copy and paste | (='.'=) Bun

Re: [patch gcc c++ c-family java fortan lto]: Fix DOS-filesystem issues

2011-03-15 Thread Pedro Alves
On Tuesday 15 March 2011 11:46:23, Kai Tietz wrote: > 2011/3/15 Pedro Alves : > > Thanks. > > > > This looks like lbasename-able as well, getting rid of > > that HAVE_DOS...-ish foo: > > Thanks. Yes, that one I missed. > > Attached updated version of patch. Thanks. -- Pedro Alves

Re: [patch gcc c++ c-family java fortan lto]: Fix DOS-filesystem issues

2011-03-15 Thread Kai Tietz
2011/3/15 Pedro Alves : > Thanks. > > This looks like lbasename-able as well, getting rid of > that HAVE_DOS...-ish foo: Thanks. Yes, that one I missed. Attached updated version of patch. Kai Index: gcc/gcc/c-family/c-ada-spec.c ===

Re: [patch gcc c++ c-family java fortan lto]: Fix DOS-filesystem issues

2011-03-15 Thread Pedro Alves
Thanks. On Tuesday 15 March 2011 07:25:10, Kai Tietz wrote: > @@ -989,6 +989,13 @@ handle_toplevel_file (directive_handler_ > >in_fname = read_md_filename; >lastsl = strrchr (in_fname, '/'); > +#ifdef HAVE_DOS_BASED_FILE_SYSTEM > + { > +char *lsl2 = strrchr (in_fname, '\\'); > +

Re: [patch gcc c++ c-family java fortan lto]: Fix DOS-filesystem issues

2011-03-15 Thread Kai Tietz
2011/3/14 Pedro Alves : > On Monday 14 March 2011 21:19:52, Kai Tietz wrote: >> @@ -1572,6 +1579,12 @@ get_file_realbasename (const input_file >>  { >>    const char *f = get_input_file_name (inpf); >>    const char *lastslash = strrchr (f, '/'); >> +#ifdef HAVE_DOS_BASED_FILE_SYSTEM >> +  const ch

Re: [patch gcc c++ c-family java fortan lto]: Fix DOS-filesystem issues

2011-03-14 Thread Pedro Alves
On Monday 14 March 2011 21:19:52, Kai Tietz wrote: > @@ -1572,6 +1579,12 @@ get_file_realbasename (const input_file > { >const char *f = get_input_file_name (inpf); >const char *lastslash = strrchr (f, '/'); > +#ifdef HAVE_DOS_BASED_FILE_SYSTEM > + const char *lastslash2 = strrchr (f, '\\