home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / dec / 7067 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  933 b 

  1. Path: sparky!uunet!tis.com!mjr
  2. From: mjr@tis.com (Marcus J Ranum)
  3. Newsgroups: comp.sys.dec
  4. Subject: Re: Need alloca which allocates storage IN the stack frame (Ultrix)
  5. Date: 22 Jan 1993 14:47:22 GMT
  6. Organization: Trusted Information Systems, Inc.
  7. Lines: 11
  8. Message-ID: <1jp1dqINN2id@sol.tis.com>
  9. References: <9915020@zl2tnm.gen.nz> <1993Jan21.163051.6773@ccad.uiowa.edu> <JTW.93Jan21175827@pmws.lcs.mit.edu>
  10. NNTP-Posting-Host: sol.tis.com
  11.  
  12. >   I am still looking for an (assembly) version of alloca() which
  13. >   does manipulate the stack to allocate storage.
  14.  
  15.     This is a language issue that's better flame-broiled in comp.lang.c,
  16. but reasonable arguments can be made that code using alloca() is broken,
  17. and should be fixed. Finding a version of alloca() is a temporary fix for
  18. the bug, but writing code that doesn't depend on it is a better one.
  19.  
  20. mjr.
  21. -- 
  22.                                                  "guns don't die. people do."
  23.