Age | Commit message (Collapse) | Author |
|
After renaming all internal macros from M_* to MUTT_*, the
sys_socket.h workaround is no longer necessary.
|
|
(closes #3833)
Solaris includes "sys/stream.h" inside their "sys/socket.h". This
include file adds many non-reserved macros to Mutt's namespace, two of
which conflict with existing Mutt macros.
The simplest fix would be to rename those macros in Mutt, however this
will cause difficulty with out-of-tree patches. This fix creates a
wrapper include file that preserves those existing macros and prevents
the Solaris values from entering Mutt's namespace.
|
|
Rather than reading /etc/resolv.conf, use gethostname() and
getaddrinfo() to get the canonical domain.
Thanks to Vincent Lefèvre for the memory leak fix.
|
|
|
|
use getaddrinfo() to look up canonical DNS name, and fall back to hinting from /etc/resolv.conf
see #3298
|
|
Remove it from mutt.h
|
|
|
|
when merging changes.
|
|
place. If there are still segmentation faults due to missing
NONULLs over, they are gone now.
|
|
gcc shut up about this.
|
|
|
|
|