Juan Cespedes wrote:
>       Should that program work?  You are initializing a local
> variable with the contents of an extern one.  It's like this one:
> ---cut here---
> extern int a;
> int b = a;
> main() {}
> ---cut here---
>       ...which doesn't work on sparc, and doesn't work on i386.
> 
>       In libc5 and glibc-2.0, std{in,out,err} are defined to... I
> don't know what, but they aren't strictly `extern FILE *', as ANSI C
> says they should be.

At least, it works with libc5.

>       I think the problem is in that program.  But I may be wrong...
> I don't have the ANSI C specs here.

Well, I don't know much about the specs.  Anyway I fixed the program.
Thanks.

-- 
 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 [EMAIL PROTECTED] | En les supprimant." Henri Jeanson (1900-1970)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to