From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f44020e1e23d2af6 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-18 09:48:00 PST Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!EU.net!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!irz401!irzr17!beck From: beck@irzr17.inf.tu-dresden.de (Andre Beck) Newsgroups: comp.unix.osf.osf1 Subject: Re: sprintf problem under OSF/1 Date: 18 Feb 1994 18:48:00 +0100 Organization: Dept. of Computer Science, TU Dresden, Germany. Distribution: world Message-ID: <2k2v0h$10qs@irzr17.inf.tu-dresden.de> References: <2js8kl$mhc@names.maricopa.edu> Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE NNTP-Posting-Host: irzr17.inf.tu-dresden.de 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-+