home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / lisp / lispnews / text0365.txt < prev    next >
Encoding:
Text File  |  1985-11-10  |  983 b   |  25 lines

  1. On the vax, the location of nil is linked to be location zero
  2. (ie (maknum nil) => 0).
  3. On the sun, the location of nil comes out as 32768
  4. This is true on both v38.91 and v40.03a
  5. Problems i have noticed because of this include are:
  6. 1. some C routines that check for nil shortcut with a zero check
  7.    this works on the vax but fails on the sun.
  8. 2. (array ...) and by extension, other storage requests, on the
  9.    vax return an array of nil (zero), but on the sun, zero is
  10.    a pointer to unknown space, and causes errors.  
  11.    (array name ...) needs to be followed by (fillarray 'name '(nil))
  12.    to have an effect similar to that on the vax.
  13.  
  14. Questions: Is this particular to the way I am installing these programs?
  15.     (ie, does (maknum nil) return zero on your sun?)
  16.  
  17.     Is this going to be changed? Has it been changed?
  18.     Will (segment) or (small-segment) be modified to return storage
  19.     initialized to nil?
  20.  
  21.     Will someone at FranzInc tell me if this is fixed in current releases?
  22.  
  23. J. Peck
  24.  
  25.