From owner-freebsd-arch Fri Oct 29 11:23:53 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id CB84414FF2 for ; Fri, 29 Oct 1999 11:23:50 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id UAA27334 for ; Fri, 29 Oct 1999 20:23:31 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id UAA40346 for freebsd-arch@freebsd.org; Fri, 29 Oct 1999 20:23:31 +0200 (MET DST) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by hub.freebsd.org (Postfix) with ESMTP id 4CE2D154BA; Fri, 29 Oct 1999 11:22:02 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org ([216.62.157.60]) by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FKD00JZ8N0NMA@mta4.rcsntx.swbell.net>; Fri, 29 Oct 1999 13:21:59 -0500 (CDT) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id NAA00562; Fri, 29 Oct 1999 13:22:58 -0500 (CDT envelope-from chris) X-URL: http://www.FreeBSD.org/~chris/ Date: Fri, 29 Oct 1999 13:22:57 -0500 From: Chris Costello Subject: Re: stpcpy() In-reply-to: <19991029111352.A87934@dragon.nuxi.com> To: obrien@freebsd.org Cc: freebsd-arch@freebsd.org Reply-To: chris@calldei.com Message-id: <19991029132257.A535@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i X-Operating-System: FreeBSD 4.0-CURRENT (i386) References: <19991029111352.A87934@dragon.nuxi.com> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Oct 29, 1999, David O'Brien wrote: > More and more GNU (and other GPV) software is starting to use the > Linuxism known as stpcpy(). stpcpy() is effectively: > > p = strcpy(d,s); > p += strlen(d); > > I'm considering adding stpcpy() to libc. Comments? I'm seeing more and more of a need for a compat library for Linux and GNU software in general. Adding unnecessary bloat to our libc isn't necessary, in my opinion. -- |Chris Costello |Abstraction is achieved by data hiding and enforced by encapsulation. `--------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message