Re: access of memory beyond allocation, not causing segmentation fault...
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Thu, 10 May 2007 07:58:06 +0000
Malcolm McLean said:
"Richard Heathfield" <rjh@xxxxxxxxxxxxxxx> wrote in message
news:AsydnR7XEIoDpN_bRVnyvAA@xxxxxxxxx
Malcolm McLean said:I was converted from malloc() casting to non-casting. However, as you
<snip>
As a little intellectual exercise, can you now list some good
arguments for casting malloc()?
No. I tried hard to think of even a single good reason, and failed. P
J Plauger, however, can give one good argument for *P J Plauger*
casting malloc.
say, some very competent people do retain the cast.
I only know of one competent person who retains the cast. P J Plauger.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.
- Follow-Ups:
- Re: access of memory beyond allocation, not causing segmentation fault...
- From: Bart van Ingen Schenau
- Re: access of memory beyond allocation, not causing segmentation fault...
- References:
- access of memory beyond allocation, not causing segmentation fault...
- From: sam_cit
- Re: access of memory beyond allocation, not causing segmentation fault...
- From: Richard Bos
- Re: access of memory beyond allocation, not causing segmentation fault...
- From: Malcolm McLean
- Re: access of memory beyond allocation, not causing segmentation fault...
- From: Chris Dollin
- Re: access of memory beyond allocation, not causing segmentation fault...
- From: Malcolm McLean
- Re: access of memory beyond allocation, not causing segmentation fault...
- From: Richard Heathfield
- Re: access of memory beyond allocation, not causing segmentation fault...
- From: Malcolm McLean
- access of memory beyond allocation, not causing segmentation fault...
- Prev by Date: Re: How to improve C skill?
- Next by Date: Re: IsAnagram
- Previous by thread: Re: access of memory beyond allocation, not causing segmentation fault...
- Next by thread: Re: access of memory beyond allocation, not causing segmentation fault...
- Index(es):
Relevant Pages
|