[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Sanity check..
- From: "Peter Loveday" <peter@...>
- Date: Fri, 1 Aug 2003 22:26:28 -0400
Ideally I want to redirect it to a console in our application...
unfortunately there is no 'file' for it. I suppose I could redefine "write"
etc, and check for the file being stdout and do something special case,
otherwise pass to the standard file version.
Love, Light and Peace,
- Peter Loveday
Director of Development,
eyeon Software
----- Original Message -----
From: "Luiz Henrique de Figueiredo" <lhf@tecgraf.puc-rio.br>
To: <lua@bazar2.conectiva.com.br>
Sent: Friday, August 01, 2003 10:00 PM
Subject: Re: Sanity check..
> >However write to stdout does not. Any ideas on an easy way to intercept
> >that?
>
> I think in this case it is easiest to change liolib.c or at least remove
> "static" from registerfile and then call registerfile with the correct
> files as in luaopen_io, assuming that you want to save output to a file.
> --lhf
>