Re: [hackers] [ubase] Style fix for respawn || sin

From: sin <sin_AT_2f30.org>
Date: Fri, 18 Apr 2014 11:48:18 +0100

On Fri, Apr 18, 2014 at 12:46:00PM +0200, FRIGN wrote:
> On Fri, 18 Apr 2014 11:43:19 +0100
> sin <sin_AT_2f30.org> wrote:
>
> > Matter of taste and makes it a bit more explicit to me that
> > argv is an array of pointers to chars (and I can treat them as such).
> >
> > Generally if it was char **p, then depending on the situation p++ might
> > have been invalid, where as char *p[] you would probably expect that
> > you can access p[0], p[1] up to a certain number of them.
>
> Well, that's a point!
> Thanks for clearing that up.
>
> Maybe we should land a patch on the big bases (ubase, sbase) to make
> this uniform.

Yes we should do that :)
Received on Fri Apr 18 2014 - 12:48:18 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 18 2014 - 13:00:16 CEST