home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v3 / text0019.txt < prev    next >
Encoding:
Internet Message Format  |  1987-06-30  |  949 b 

  1. Date: Fri, 15 Nov 85 00:48:36 cst
  2. From: allegra!jpl (John P. Linderman)
  3.  
  4. I agree that values like OPEN_MAX that may well vary among binary
  5. compatible machines should be determinable at execution time.  It
  6. makes a lot of sense to have a routine that would look them up in
  7. the copy of limits.h on the runtime machine.  If the file were
  8. missing (or otherwise unusable), default values could be compiled
  9. in from the copy of limits.h on the compile-time machine.  This
  10. would leave us with sensible defaults, even on a bare-bones machine,
  11. and a high level of compatibility across binary compatible machines,
  12. regardless of the machine a source was compiled on.
  13.  
  14. I don't imagine people will bury these lookups deep in nested loops,
  15. so efficiency shouldn't be much of an issue.  A lookup that invoked
  16. cpp would be easy to write and would guarantee compatibility with
  17. compile-time lookups.
  18.  
  19. John P. Linderman  allegra!jpl
  20.  
  21. Volume-Number: Volume 3, Number 20
  22.  
  23.