home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / bugs / sys5 / 147 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.6 KB  |  34 lines

  1. Newsgroups: comp.bugs.sys5
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!Germany.EU.net!pcsbst!wd
  3. From: wd@pcsbst.pcs.com (wd)
  4. Subject: Re: putenv() is clobbering static data! NCR 3xxx NCR OS 2.0 (SVR4)
  5. Organization: PCS Computer Systeme GmbH
  6. Date: Mon, 14 Dec 1992 06:15:35 GMT
  7. Message-ID: <wd.724313735@tukan>
  8. References: <1992Dec9.091253.26269@informix.com> <1992Dec11.164336.11037@rei.com>
  9. Sender: @pcsbst.pcs.com
  10. Lines: 22
  11.  
  12. rick@rei.com (Richard J. Barton) writes:
  13.  
  14. >You may want to check the amount of combination argv, envp string space
  15. >that's being used.  Then look at the kernel parameter ARG_MAX (usually
  16. >defaults to about 5K).  If you're repetitively doing putenv() this may
  17. >be a problem.  This is just a hunch...
  18.  
  19. Not in any implementation of putenv() I can look at (and this in- 
  20. cludes SVR4). If necessary putenv() realloc's what it needs. 
  21.  
  22. Wolfgang
  23.  
  24. ==================================================================
  25. Name    : Wolfgang Denk                         (+49)-89-68004-288
  26. Company : PCS GmbH, Pfaelzer-Wald-Str. 36,  8000 Munich,  Germany.
  27. UUCP    : ..[pyramid ;uunet!unido]!pcsbst!wd  (PYRAMID PREFERRED!!)
  28. DOMAIN  : wd@pcsbst.pcs.[ COM From rest of world; DE From Europe ]
  29. ###################################################################
  30. #  "UNIX was not designed to stop you from doing stupid things,   #
  31. #   because that would  also stop you from doing clever things."  #
  32. #   -- Doug Gwyn                                                  #
  33. ###################################################################
  34.