Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: (NULL == 0) ?



> I don't recall whether sizeof(int) must be the same as one of (short)
> or (long).  I don't think so (don't have an ANSI C book handy at the
> moment).

No, they dont (and on the Alpha, for example, they aren't - short=2bytes,
int=4bytes, long=8bytes)

> Zsh does work when sizeof(int) != sizeof(long), e.g 4 != 8, because
> I've run it on a DEC Alpha.  Well, older versions worked, anyway.

beta 18 works. haven't got beta19. I seem to remember people posting
that some of the betas at least it also works on Unicos, where
sizeof(int)==sizeof(long)==8.

Anthony




Messages sorted by: Reverse Date, Date, Thread, Author