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

  1. Date: Sun, 10 Nov 85 16:26:26 PST
  2. From: mordor!lll-crg!sun!guy (Guy Harris)
  3.  
  4. > [ Seems to me only those critical binaries (/etc/init?)
  5. > that wanted a huge OPEN_MAX would need to be rebuilt.  -Gwyn ]
  6.  
  7. Nope.  What about programs like shells which want to close every single open
  8. file descriptor?  If OPEN_MAX were a compile-time constant, these programs
  9. would have to be recompiled if you just bought Keg-O-Data's new DBMS which
  10. requires 100 open file descriptors and reconfigured your kernel to up the
  11. max-file-descriptors-per-process limit.
  12.  
  13. > I suggest deleting all of the constants, and instead specifying
  14. > a library routine...
  15.  
  16. Yes, and *please* call the one for OPEN_MAX "getdtablesize", so 4.2 programs
  17. won't have to change.
  18.  
  19. Volume-Number: Volume 3, Number 13
  20.  
  21.