Minor fix to previous collect2 change
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Mon Sep 6 07:11:00 GMT 1999
> From: Jeffrey A Law <law@cygnus.com>
>
> In message < oraer0mfwz.fsf@cupuacu.lsd.dcc.unicamp.br >you write:
> > On Sep 6, 1999, Jeffrey A Law <law@cygnus.com> wrote:
> >
> > > Kaveh -- I'm guessing this is what you really meant the code to
> > > look like ;-)
> >
> > I guess not. It should certainly be:
> >
> > const char *ldd_argv[4];
> > const char **ldd_argv = (const char **) real_ldd_argv;
> >
> > Since a few lines below, ldd_argv[argc++] is assigned ldd_file_name,
> > but ldd_file_name is `const char *'.
>
> Can you please fix it. I don't have the time right now.
> jeff
I think Alexandre got it wrong above also :-), but what he checked is
different and it looks correct. So it should be okay.
Sorry for my original goof.
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc-patches
mailing list