There's a big difference between a NUL string and a NULL pointer.
----------
From: Pete Turnbull[SMTP:pete@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