aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJan Djärv2011-08-13 12:48:03 +0200
committerJan Djärv2011-08-13 12:48:03 +0200
commit377538cbcf8c1f0aab9b40ed2ff3df414904272f (patch)
tree9dfd855ba3e99732fd5d3f49096a5191c09233f3 /ChangeLog
parent1bca59fe757d359e3c36d3de1c8ec19ed90be49c (diff)
downloademacs-377538cbcf8c1f0aab9b40ed2ff3df414904272f.tar.gz
emacs-377538cbcf8c1f0aab9b40ed2ff3df414904272f.zip
Fix network-interface-list|info on newer BSD derived OS:es.
* configure.in: Add header check: sys/socket.h, ifaddrs.h, net/if_dl.h. Check for getifaddrs and freeifaddrs. Check for sa_len in struct ifreq.ifr_addr (Bug#8477). * src/process.c: Include ifaddrs.h and net/if_dl.h if available (Bug#8477). (Fnetwork_interface_list): Allocate in increments of bytes instead of sizeof (struct ifreq). Iterate over ifconf.ifc_req by counting bytes (Bug#8477). Count bytes correctly when ifr_addr is a struct sockaddr. (struct ifflag_def): notrailers is smart on OSX. (Fnetwork_interface_info): Handle case when ifr_flags is negative. Get hardware address with getifaddrs if available.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 30f22850d40..55deca05751 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12011-08-13 Jan Djärv <jan.h.d@swipnet.se>
2
3 * configure.in: Add header check: sys/socket.h (Bug#8477),
4 ifaddrs.h, net/if_dl.h. Check for getifaddrs and freeifaddrs.
5 Check for sa_len in struct ifreq.ifr_addr (Bug#8477).
6
12011-08-04 Jan Djärv <jan.h.d@swipnet.se> 72011-08-04 Jan Djärv <jan.h.d@swipnet.se>
2 8
3 * configure.in (HAVE_PTHREAD): Add check for -lpthread (Bug#9216). 9 * configure.in (HAVE_PTHREAD): Add check for -lpthread (Bug#9216).