Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!mcvax!ukc!stc!btnix!titley
From: titley@btnix.axion.bt.co.uk (Nigel Titley)
Newsgroups: comp.os.vms
Subject: Re: printf bombs in VMS C if format too long
Message-ID: <517@btnix.axion.bt.co.uk>
Date: Mon, 6-Jul-87 07:24:41 EDT
Article-I.D.: btnix.517
Posted: Mon Jul  6 07:24:41 1987
Date-Received: Sun, 12-Jul-87 09:20:44 EDT
References: <1766@ttrdc.UUCP>
Organization: British Telecom Research Labs, Martlesham Heath, IPSWICH, UK
Lines: 17

in article <1766@ttrdc.UUCP>, levy@ttrdc.UUCP (Daniel R. Levy) says:
> 
> When trying to port a C program which runs just fine on UNIX systems to VMS
> I came across a problem with VERY long formats (over 512 characters).  The
> symptom is that the program dies with an Access Violation which prints out a
> Stack Dump and a message about improper handler, image exit forced.  (No
> offending program line is indicated in the stack dump.)

I quote section 16.5.1 in the programming in Vax C manual

	"The string output by these functions can have a  maximum length  of
	512 characters"

I don't know if DEC have any plans to modify this, I doubt it somehow.
-- 
Email: NTitley@axion.bt.co.uk
Snail: British Telecom Research labs, Martlesham Heath, Ipswich, Suffolk, UK