On Sun, Nov 03, 2002 at 12:12:25PM -0500, Daniel Jacobowitz wrote: > On Sat, Nov 02, 2002 at 07:48:24PM -0800, Roland McGrath wrote: > > I've put in a fix similar to yours but with cosmetic differences. > > I believe it is valid C99. > > Thanks, that's much cleaner than my solution. It looks safe to me; > I'll give it a try.
I'm not sure that it's valid C99 - my impression is that it isn't, and the only valid way would be to have a function return the DIRENT_TYPE by value - but it's valid GNU C and it fixes the bug I was chasing. Thanks! -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer

