[En-Nut-Discussion] Bug #1799374: NutRegisterCgi() Parameter 1

Nathan Moore nategoose at gmail.com
Tue Apr 1 19:01:59 CEST 2008


On Tue, Apr 1, 2008 at 12:51 PM, Alain M. <alainm at pobox.com> wrote:

> I don't understand something in what you say:
> 1) if you have a string that is NOT const and you pass it to a function
> that has a cont parameter, it is ok and no error messages
> 2) once a file is open, you will not use it's name anymore, so it can be
> discated anytime

NutCgiRegister isn't opening files.  It compares the *_file_name_ to http
GET requests later
when the http server is up.

>
>
> Alain
> BTW, the example bellow could crash because the second string is bigger
> than the first...
>
That wasn't the point of that example. Cursed variable width fonts throwing
off my length estimates.


Nathan



More information about the En-Nut-Discussion mailing list