bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] auth code


From: Alain Magloire
Subject: Re: [bug-mailutils] auth code
Date: Wed, 30 Jul 2003 10:13:46 -0400 (EDT)

> 
> > Hmm, strange.  I thought that noinst_LIBRARY's were supposed to be
> > linked statically into anything that called them.  They're sort of
> > pointless otherwise.
> 
> That's right. We link libmailutils statically with our utilities.
> It contains some functions that may be used from the native libc,
> but which are used *by the utilities*. However, the libraries
> (libmailbox, libmuauth, etc) are free from such dependencies.
> 

Yes.

For example, we do not use things like xmalloc() but do explicit
checks

  buffer = malloc(..);
  if (buffer == NULL) {
    /* Damnation !! pass the error above, bail out. */
  ... 
  }






reply via email to

[Prev in Thread] Current Thread [Next in Thread]