Svante Signell, le Thu 15 May 2014 08:43:13 +0200, a écrit :
> > Also, why this:
> > 
> > > @@ -701,7 +706,7 @@
> > >  
> > >   case 0:;
> > >           /* i am the child */
> > > -         static char *const diff_opt[] = {
> > > +         char *diff_opt[] = {
> >                     "diff",
> > >                   "-u",
> > >                   expfn, actfn, NULL,
> > 
> > Apart from that, it looks fine.
> 
> As the code is written I can use
>   char *const diff_opt[]
> or
>   char *diff_opt[]
> but not
>   static char *const diff_opt[]
> or
>   static char *diff_opt[]

Why?

The existing code is using static const, what happens if you don't leave
it as it is?

Samuel


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
https://lists.debian.org/[email protected]

Reply via email to