ISSUE 550

Add Proposal  Add Analysis  Edit Class, Environment, or Release
Number 550
Notify-List
Category errata
Synopsis 27.10 static buffer should be implementation specific
State open
Class errata-ptf
Arrival-DateFeb 25 2004
Originator Charles Dawson
Release
Environment
Description
The following sentence:

The string shall be placed in a temporary buffer that
shall be used by every call to this routine.

seems to me to be implementation specific, and too restrictive. The point we were trying to make was
satisfied by the next sentence:

If the string is to be used after a subsequent call,
the string should be copied to another location.

There are situations where it may make sense not to copy
into a buffer. Also, it adds some confusion. Is there
only one buffer any time a string is returned? Thus we had
to add the sentence:

Note that a different string buffer shall be used for
string values returned through the s_vpi_value structure.

It seems to me we should make this simpler.
Fix
Unknown
Unformatted

Hosted by Boyd Technology