Alan Coopersmith <alan.coopersm...@sun.com> wrote: > Joerg Schilling wrote: > > It would be interesting to know how this interface change could make it > > into > > POSIX as the intention of the POSIX standard is not to invalidate existing > > interfaces..... > > Was there ever a formal definition guaranteeing strcpy() worked for > overlapping > strings or was that just an accident of the common implementation? The 1989 > C > standard says it was undefined, and POSIX would build on that, not override > it.
The 1989 C standard introdued a lot strange things as a result from the attempts from Intel to get better benchmark results for the x286. I suspect that the interface change was an accident introduced by ANSI C and not introduced by POSIX. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de (uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code