[PATCH] stpcpy comes from Turbo C [BZ #3629]

Florian Weimer fweimer@redhat.com
Wed May 11 18:41:00 GMT 2016


On 05/10/2016 06:37 PM, Ulrich Drepper wrote:
> On Tue, May 10, 2016 at 3:50 AM, Florian Weimer <fweimer@redhat.com> wrote:
>> +This function is a Turbo C extension.  It is not part of the ISO or
>> +POSIX standards.
>
> Even the current man pages tell you that this isn't right.  Of course
> it was an extension but not introduced in Turbo C.  It was introduced
> earlier.  Amiga Lattice C had it:
>
> http://www.bombjack.org/commodore/amiga/applications/Lattice_C_Compiler_V3_Programmers_Reference_Guide_%28Sep_12_1986%29.pdf

I find it difficult to believe that Turbo C copied from there, I find it 
far more likely that there was a common ancestor.

What about this patch, then?

Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-stpcpy-is-part-of-POSIX.1-2008-BZ-3629.patch
Type: text/x-patch
Size: 743 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160511/f88248ea/attachment.bin>


More information about the Libc-alpha mailing list