[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: OT: C program problem, core dumps in linux but not unix. -Update / Thank you
- From: Gordon Messmer <yinyang eburg com>
- To: redhat-list redhat com
- Subject: Re: OT: C program problem, core dumps in linux but not unix. -Update / Thank you
- Date: Tue, 29 Feb 2000 10:40:17 -0800
David Filion wrote:
> I have not had a chance to recompile the program on my Linux but but I did find
> some pointer bugs. I've added code to check for null values before processing a
> value and redid some of the login to make it smoother.
Still off topic, I suppose, but I've used the "Don't Pass Null" macro in
the past, maybe you'll be able to use it:
#define DPN(s) ((s == NULL) ? "" : (s))
Anything that is a null pointer, or would result in a null pointer,
becomes a pointer to a zero length char array.
MSG
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]