🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #503

Re: Proposed addition to string library: strnew

#503
From: David Fox
Date: Wed, 12 Sep 1990 18:15
5 lines
876 bytes
I am aware of strdup(), but it uses malloc rather than new and
it bombs if you pass it a zero pointer, rather than passing
back a zero pointer as strnew does.  I wasn't really that
serious about strnew, but I've received many replies saying
that strdup is the same as strnew, but its not.
Technical Details
Message-ID: <FOX.90Sep12141551@devo.research.att.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!tut.cis.ohio-state.edu!ucbvax!ulysses!fox
References: <FOX.90Sep7130228@devo.research.att.com> <77210002@hpclscu.HP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!tut.cis.ohio-state.edu!ucbvax!ulysses!fox
From: fox@research.att.com (David Fox)
Newsgroups: comp.std.c++
Subject: Re: Proposed addition to string library: strnew
Message-ID: <FOX.90Sep12141551@devo.research.att.com>
Date: 12 Sep 90 18:15:51 GMT
References: <FOX.90Sep7130228@devo.research.att.com> <77210002@hpclscu.HP.COM>
Sender: netnews@ulysses.att.com
Organization: AT&T Bell Laboratories
Lines: 5
In-reply-to: shankar@hpclscu.HP.COM's message of 10 Sep 90 23:39:13 GMT