lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> ANSI C90 accepts both "w+b" and "wb+" I think; I don't have a final
> copy but the draft3 available online does call out those two
> alternatives.  C99 does as well.

You are right; my mistake. Anyway, it states that the behavior is
undefined for any string not explicitly allowed. For Lua, it is simpler
to check only for the "w+b" style, and it does not seem to be any "loss
of generality" in that restriction.

-- Roberto