Prev | Current Page 221 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


3.4.17 ...IS_BROKEN
Things that can be broken Port, edit sendmail/conf.h
Not all versions of Unix are equal. Some implement important library routines in ways that
are considered broken. For sendmail to work properly on suchsystems, it needs to know at
compile time whether it is being built on such a broken system. The compile-time macros
that convey this information to sendmail are listed and described in Table 3-4.
Table 3-4. Compile-time macros for things that are broken
Compile-time macro What??™s broken
BROKEN_ANSI_LIBRARY Some compilers claim to be ANSI-compliant, yet they lack the strtoul(2) function. If, when
you build sendmail, you get an error saying that the strtoul function could not be found,
you can get around that problem by defining this Build m4 compile-time macro.
BROKEN_RES_SEARCH On Ultrix systems, if an unknown host is looked up with the res_search(2) routine, that
routine wrongly sets h_errno to 0, when it should correctly set h_errno to HOST_NOT_
FOUND. If you define this macro, sendmail will consider an h_errno of 0 to be the same as
HOST_NOT_FOUND.
DEC_OSF_BROKEN_GETPWENT On DEC OSF/1 V3.2 and earlier, the MatchGECOS option (?§24.9.63 on page 1043) fails to
work. If you want to use this option under those early versions, you can define this
compile-time macro. The MatchGECOS option works as advertised beginning with DEC
OSF/1 V3.


Pages:
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233