[ksh93-integration-discuss] ksh93 update 2[PSARC/2009/063FastTrack timeout 02/09/2009] (Roland Mainz)

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Tue Feb 10 15:11:25 PST 2009


James Carlson <james.d.carlson at sun.com> wrote:

> Don Cragun writes:
> > During the last revision cycle, the committee received requests to explicitly
> > add these functions because they are widely used in Linux application
> > programming and were a portability problem for people porting code from
> > Linux systems to POSIX/UNIX platforms.  I don't remember any requests to
> > add stplcpy() and wclpcpy().  If they had been suggested we could easily have
> > added them as well, but the cross platform portability consideration concerns
> > would still have been enough to add the function that were added.
>
> OK; that just reinforces my +1 with nose held.

As GNU ld warns about using mktemp() without knowing whether the call
to mktemp() could be reasonably replaced by mkstemp(), we could make lint warn
about using stpcpy() as being a security risk ;-)

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



More information about the opensolaris-arc mailing list