summaryrefslogtreecommitdiffstats
path: root/getdomain.c
AgeCommit message (Collapse)Author
2016-05-09Back out wrapper sys_socket.h workaround (23334e967dd7)Kevin McCarthy
After renaming all internal macros from M_* to MUTT_*, the sys_socket.h workaround is no longer necessary.
2016-04-27Create a wrapper sys_socket.h to work around Solaris namespace issues. ↵Kevin McCarthy
(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.
2016-03-08Improve method of determining FQDN. (closes #3298)Derek Martin
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.
2013-04-11Backed out changeset 1142ed8974faMichael Elkins
2013-04-10use gethostname() to determine the system host nameMichael Elkins
use getaddrinfo() to look up canonical DNS name, and fall back to hinting from /etc/resolv.conf see #3298
2005-02-03Add config.h to the top of every C file that could possibly want it.Brendan Cully
Remove it from mutt.h
2001-10-09A different fix for #767.Thomas Roessler
1999-01-07Get rid of RCS ids in source files. They are getting in our wayThomas Roessler
when merging changes.
1998-11-10Introduce or rewrite mutt_{str*cmp,strlen} and use them all over theThomas Roessler
place. If there are still segmentation faults due to missing NONULLs over, they are gone now.
1998-10-15Change "static char rcsid[]" to "static const char rcsid[]" to makemutt-0-94-13-relThomas Roessler
gcc shut up about this.
1998-10-13Add RCS $Id$ strings to (hopefully) all source files.Thomas Roessler
1998-06-08Initial revisionThomas Roessler