From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-18 05:19:54 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!194.213.69.151!news.algonet.se!newsfeed1.telenordia.se!algonet!newsfeed1.funet.fi!newsfeeds.funet.fi!newsfeed.uninet.ee!news.ut.ee!not-for-mail From: Sander Vesik Newsgroups: comp.sys.dec,comp.arch Subject: Re: using memory beyond the "top" of stack Date: Wed, 18 Jul 2001 12:19:22 +0000 (UTC) Message-ID: <995458767.205555@haldjas.folklore.ee> References: <994616870.688233@haldjas.folklore.ee> <9iuka3$rku$1@mach.thp.univie.ac.at> <9j0jts$r2u$1@sword.avalon.net> <1bn163xzf0.fsf@cs.nmsu.edu> NNTP-Posting-Host: haldjas.folklore.ee X-Trace: kadri.ut.ee 995458762 16409 193.40.6.121 (18 Jul 2001 12:19:22 GMT) X-Complaints-To: usenet@kadri.ut.ee NNTP-Posting-Date: Wed, 18 Jul 2001 12:19:22 +0000 (UTC) User-Agent: tin/pre-1.4-19990413 ("Endemoniada") (UNIX) (FreeBSD/4.3-RELEASE (i386)) Cache-Post-Path: haldjas.folklore.ee!unknown@localhost X-Cache: nntpcache 2.3.2 (see http://www.nntpcache.org/) Xref: archiver1.google.com comp.sys.dec:5966 comp.arch:14224 In comp.arch Joe Pfeiffer wrote: > dsiebert@excisethis.khamsin.net (Douglas Siebert) writes: >> >> Such as people porting SunOS applications. Not a big concern today, but >> it was a real pain in the ass back when it was. I found a lot of latent >> bugs in a medical imaging package I ported from SunOS to Solaris and >> HP-UX as my first "real job" after college. It was amazing what SunOS >> would let you get away with. One good thing about doing the Solaris >> port, it made the HP-UX port easier since many of the bugs were fixed >> (though the HP port did uncover some problems that didn't show up with >> Solaris) > Real fun was porting VAX to Sun. I honestly thought C specified that > a NULL pointer was an empty string. Passing a pointer to an int with > a value of less than 256 to a function expecting a pointer to a char > was a good one, too. Funny there is a lot of code developed on Linux that assumes just that about NULL and empty strings... > -- > Joseph J. Pfeiffer, Jr., Ph.D. Phone -- (505) 646-1605 > Department of Computer Science FAX -- (505) 646-1002 > New Mexico State University http://www.cs.nmsu.edu/~pfeiffer > SWNMRSEF: http://www.nmsu.edu/~scifair -- Sander FLW: "I can banish that demon"