home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!stanford.edu!nntp.Stanford.EDU!dkeisen
- From: dkeisen@leland.Stanford.EDU (Dave Eisen)
- Subject: Re: Problem with string processing.
- Message-ID: <1993Jan6.062001.24692@leland.Stanford.EDU>
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: Sequoia Peripherals, Inc.
- Date: Wed, 6 Jan 93 06:20:01 GMT
- Lines: 16
-
- In article <1993Jan6.020420.25829@iitmax.iit.edu> matujos@elof.iit.edu (Joe Matusiewicz) writes:
- > The problem was most likely my use of calloc with one argument. I
- >first used malloc and forgot that calloc required 2 parameters, so I
- >accidentally forgot about that. (But some of you might agree with me that
- >the stupidest errors are usually the hardest to find). Anyway, here is
-
- This one should have been easy to find. If you had #included the
- file <stdlib.h> which contains the prototype for calloc, your
- compiler would have alerted you to your mistake.
-
-
- --
- Dave Eisen Sequoia Peripherals: (415) 967-5644
- dkeisen@leland.Stanford.EDU Home: (415) 321-5154
- There's something in my library to offend everybody.
- --- Washington Coalition Against Censorship
-