[illumos-Developer] webrev: 374 cron should send more useful mail
Aram Hăvărneanu
aram.h at mgk.ro
Tue Oct 26 04:08:35 PDT 2010
On Tue, Oct 26, 2010 at 12:00 PM, Joerg Schilling
<Joerg.Schilling at fokus.fraunhofer.de> wrote:
> strdup() is a really bad idea!
>
> Better use xstrdup()
Why? I don't think cron(1) is an example of an application that should
abort when it can't allocate memory. The application should recover,
which in this case, it does.
--
Aram Hăvărneanu
More information about the Developer
mailing list