🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4936

SAS/C 5.10 question, and general stupid C question

#4936
From: Constantine A. LaPasha
Date: Mon, 20 Aug 1990 13:15
27 lines
1653 bytes
Just got the SAS/C 5.10 upgrade, and it looks nice!

Q: Can someone point me to info on initializing the stack variable
in SAS/C 5.10?  The "what's new" section says you can now have
your process set its own min stack size if it inherits a smaller
stack from where it was launched, but I can't find any more 
about this.  Anybody find it?

Now for the stupid C question:  I've been working on a small 
program, and just moved to SAS/C 5.10 (from 5.05a).  The thing
works from the CLI, but dies with a "stack overflow" box when
launched from the WB (this happens almost immediately).  
Right now there are two basic parts to the thing, and each will
run fine under WB (with a few extra lines to call the one) when
compiled with the same compile options... Now: What is the most
probable cause of the stack overflow death when launched under
WB??  I'd appreciate any help - email prefered, to avoid clutter
here.  Thanks in advance.

===============================================
Kostya LaPasha          paleo@ecsvax.uncecs.edu
==== ... virtually, we can do anything ... ====
-- 
===============================================
Kostya LaPasha          paleo@ecsvax.uncecs.edu
==== ... virtually, we can do anything ... ====
Technical Details
Message-ID: <1990Aug20.131526.8180@uncecs.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!emory!mephisto!mcnc!ecsgate!ecsvax!paleo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!emory!mephisto!mcnc!ecsgate!ecsvax!paleo
From: paleo@uncecs.edu (Constantine A. LaPasha)
Newsgroups: comp.sys.amiga.tech
Subject: SAS/C 5.10 question, and general stupid C question
Keywords: STACK, WB, programming question
Message-ID: <1990Aug20.131526.8180@uncecs.edu>
Date: 20 Aug 90 13:15:26 GMT
Organization: UNC Educational Computing Service
Lines: 27