The derivation shows it was introduced in XSH 4 Version 2,
as a UNIX extension, so we'd do best to hear from members of the
Base WG on this one....
On Sep 19, 5:34pm in "Defect in XSH strdup", yyyyyyyy@xxxxxxxxxx wrote:
> Defect report from : Alexander Terekhov , IBM
>
> (Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
>
> @ page 1415 line 43742 section strdup -- duplicate a string editorial
>{alt-strdup-2003-09-19}
>
> Problem:
>
> Edition of Specification (Year): 2003
>
> Defect code : 1. Error
>
> The standard says:
>
> 43742 The strdup() function may fail if:
> 43743 [ENOMEM] Storage space available is insufficient.
>
> "may" is wrong. Resource-not-available errors are mandatory.
>
> Action:
>
> Replace "may" with "shall".
>
> Unfortunately, there are many other places that also need
> similar patching. Consistency, you know. If you accept
> that change, more DRs will follow.
>-- End of excerpt from yyyyyyyy@xxxxxxxxxx
-----
Andrew Josey The Open Group
Austin Group Chair Apex Plaza,Forbury Road,
Email: yyyyyyy@xxxxxxxxxxxxx Reading,Berks.RG1 1AX,England
Tel: +44 118 9508311 ext 2250 Fax: +44 118 9500110
|