ansi c (almost on topic) was: [getting old punched cards read]

From: Captain Napalm <spc_at_armigeron.com>
Date: Fri Apr 24 19:37:06 1998

It was thus said that the Great Pete Turnbull once stated:
>
> On Apr 24, 12:38, Paul E Coad wrote:
> > On Fri, 24 Apr 1998, Captain Napalm wrote:
> > > It was thus said that the Great Pete Turnbull once stated:
> > > >
> > > > On Apr 24, 1:35, Captain Napalm wrote:
> > > > > 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.
               ^^^^^^^^^^^

  I see the proglem. I think you originally misread what I wrote. And they
are two different things.

  -spc (you CAN copy a null string, but not a NULL pointer ... )
Received on Fri Apr 24 1998 - 19:37:06 BST

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