Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 14:08:00 +0200
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Wes Peters <wes@softweyr.com>
Cc:        Assar Westerlund <assar@FreeBSD.org>, Brian Somers <brian@Awfulhak.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libutil ecalloc.c emalloc.3 emalloc.c erealloc.c estrdup.c Makefile libutil.h
Message-ID:  <20010723140759.Y79615@daemon.ninth-circle.org>
In-Reply-To: <001c01c1133a$f2b9ac50$24b244cc@blabber>
References:  <3698025593.995835470@blabber> <5lwv508huv.fsf@assaris.sics.se> <001c01c1133a$f2b9ac50$24b244cc@blabber>

next in thread | previous in thread | raw e-mail | index | archive | help
-On [20010723 07:50], Wes Peters (wes@softweyr.com) wrote:
>I agree with Alfred, I really don't like the idea of a program exiting
>willy-nilly and feel this will encourage developers to do so.  It is
>marginally better than not testing return values at all, and hoping for
>a core file, but only marginally so.  The fact that it has been done
>alot in existing code doesn't make it a good practice, just a common
>one.

I think this is another example where programmers don't know C and Unix
supporting standards well enough, so that they depend on non-portable
functions.

I think it is obfuscation in most cases.

-- 
Jeroen Ruigrok van der Werven/Asmodai asmodai@[wxs.nl|freebsd.org|xmach.org]
Documentation nutter/C-rated Coder, finger asmodai@ninth-circle.dnsalias.net
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/
Escaping the Law of the Unexplained Pains...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010723140759.Y79615>