[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [FEATURE REQUEST] Custom-naming of preloaded modules
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 17 Feb 2017 16:29:41 -0200
> >You should remove the 'const' here, but otherwise the assignment is
> >correct; ANSI C assures that the strings pointed to by 'argv' are
> >modifiable (and you don't need to restore its value).
> >-- Roberto
> Wouldn't that affect `arg`? Or is `arg` created before any argument
> processing takes place?
'arg' is created before any processing, because it is available to
$ LUA_INITemail@example.com' lua -l t2 t2.lua b c