Re: lua bug - loadfile gets stdin confused
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lua bug - loadfile gets stdin confused
- From: David Manura <dm.gmane@...>
- Date: 2007年4月17日 04:26:30 +0000 (UTC)
David Burgess <dburgess <at> gmail.com> writes:
> if closing stdin/stderr/stdout I would have thought the friendly
> thing to do would be to assign it to NULL,
>
> fclose(stdin);
> stdin=NULL;
Rici mentioned this isn't standard C. Actually, on VC2005, it gives this error:
st.c(7) : error C2106: '=' : left operand must be l-value