Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: sprintf problem under OSF/1
Date: 18 Feb 1994 18:48:00 +0100	[thread overview]
Message-ID: <2k2v0h$10qs@irzr17.inf.tu-dresden.de> (raw)
In-Reply-To: 2js8kl$mhc@names.maricopa.edu


In article <2js8kl$mhc@names.maricopa.edu>, zagar@names.maricopa.edu (Chris Zagar) writes:
|>I'm sorry if I'm asking a common problem, but we just got our first
|>Alpha and it is driving me crazy.  I have an existing application that
|>I am trying to port.  I have compiled it with the -taso option, and it
|>compiles and links without error.  However, when I run it, every time
|>it encounters simple sprintf errors, it dies with a segmentation
|>fault.  Does this sound familiar to anyone?  Also, is there any
|>place that I can find information on what is required to port applications
|>to OSF/1?
|>

Dunno whether it's the error, but some old programs assume BSD behavior
of sprintf (return string buffer address), whereas OSF will likely provide
a POSIX compliant one which returns the number of characters processed.

--
+-o-+--------------------------------------------------------+-o-+
| o |		    \\\- Brain Inside -///		     | o |
| o |			^^^^^^^^^^^^^^			     | o |
| o | Andre' Beck (ABPSoft) Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------+-o-+


      parent reply	other threads:[~1994-02-18 17:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-02-16  4:49 sprintf problem under OSF/1 Chris Zagar
1994-02-16 16:54 ` David Boyce
1994-02-18  3:42 ` sprintf problem under OSF/1 on Alpha Chris Zagar
1994-02-18 17:48 ` Andre Beck [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox