[getting old punched cards read]

From: Bob Withers <bwit_at_pobox.com>
Date: Fri Apr 24 17:10:23 1998

There's a big difference between a NUL string and a NULL pointer.

----------
From: Pete Turnbull[SMTP:pete_at_dunnington.u-net.com]
Sent: Friday, April 24, 1998 5:22 AM
To: Discussion re-collecting of classic computers
Subject: Re: [getting old punched cards read]

On Apr 24, 1:35, Captain Napalm wrote:
> Well, I snagged a copy of it, compiled it, found a bug, and fixed it.
> strcpy() (at least on my compiler) will crash if any of the parameters
> are NULL pointers,

That's a compiler (or library, actually) bug. You should be able to copy a
null string.

-- 
Pete						Peter Turnbull
						Dept. of Computer Science
						University of York
Received on Fri Apr 24 1998 - 17:10:23 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:30:41 BST