diff options
| author | Jan Djärv | 2011-08-13 12:48:03 +0200 |
|---|---|---|
| committer | Jan Djärv | 2011-08-13 12:48:03 +0200 |
| commit | 377538cbcf8c1f0aab9b40ed2ff3df414904272f (patch) | |
| tree | 9dfd855ba3e99732fd5d3f49096a5191c09233f3 /ChangeLog | |
| parent | 1bca59fe757d359e3c36d3de1c8ec19ed90be49c (diff) | |
| download | emacs-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-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-08-04 Jan Djärv <jan.h.d@swipnet.se> | 7 | 2011-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). |