OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: typo in usr/sbin/env.c

From: Philip Guenther (guenthergmail.com)
Date: Sat Mar 01 2008 - 16:44:28 CST


On Sat, Mar 1, 2008 at 3:25 PM, Dasn <dasnlavabit.com> wrote:
> On 01/03/08 00:01 +0100, Tobias Ulmer wrote:
> > FINI, /* All done, skipping trailing whitespace */
> >- ERROR, /* Error */
> >+ ERROR /* Error */
> > };
>
> Does it matter? I think the comma here is convenient for extending the
> enum in future.

FTR, C90 didn't permit a trailing comma, while C99 does. Many
compilers accepted the extra comma as an extension before C99 came
out. (The last compiler I had to use that didn't support it was the
AIX 4.x compiler. Blech!)

Philip Guenther