This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Regarding recent void * change


Telford Tendys <telford@eng.uts.edu.au> writes:

> > I'm afraid that there might exist architectures where dealing with
> > values which are invalid as pointers will yield a bus error.
> 
> This is a rather vague potentiality.

It happens with segment:offset pointers in x86 protected mode.
However, segment 0 is always allowed, so integers which fit in
the offset part (normally an unsigned int) are safe.

I don't know if there's an x86 unix which uses segmented pointers
and protected mode.  Perhaps Microsoft XENIX.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]