X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/17a0e20c69f875f98afb440c6f20c1ab5406d4c9..2b039a7035d19213dc7514bfd0b9924e1c21a625:/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff?ds=sidebyside diff --git a/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff b/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff index 6220c0f..61d04ce 100644 --- a/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff +++ b/debian/patches/debian-specific/Md.etc_mailname_gethostbyname.diff @@ -1,3 +1,6 @@ +If /etc/mailname is present, the hostname inside the file will be +used, rather than calling gethostbyname() on the actual hostname + --- a/init.c +++ b/init.c @@ -47,6 +47,7 @@ @@ -8,7 +11,7 @@ #include #include -@@ -2952,6 +2953,31 @@ +@@ -2953,6 +2954,31 @@ return 0; } @@ -40,7 +43,7 @@ void mutt_init (int skip_sys_rc, LIST *commands) { struct passwd *pw; -@@ -3026,10 +3052,25 @@ +@@ -3027,10 +3053,25 @@ Hostname = mutt_substrdup (utsname.nodename, p); p++; strfcpy (buffer, p, sizeof (buffer)); /* save the domain for below */