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 /src/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 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5c65159a841..899ee14686d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2011-08-13 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * process.c: Include ifaddrs.h and net/if_dl.h if available (Bug#8477). | ||
| 4 | (Fnetwork_interface_list): Allocate in increments of bytes instead | ||
| 5 | of sizeof (struct ifreq). Iterate over ifconf.ifc_req by counting | ||
| 6 | bytes (Bug#8477). Count bytes correctly when ifr_addr is a struct | ||
| 7 | sockaddr. | ||
| 8 | (struct ifflag_def): notrailers is smart on OSX. | ||
| 9 | (Fnetwork_interface_info): Handle case when ifr_flags is negative. | ||
| 10 | Get hardware address with getifaddrs if available. | ||
| 11 | |||
| 1 | 2011-08-12 Eli Zaretskii <eliz@gnu.org> | 12 | 2011-08-12 Eli Zaretskii <eliz@gnu.org> |
| 2 | 13 | ||
| 3 | * xdisp.c (iterate_out_of_display_property): xassert that | 14 | * xdisp.c (iterate_out_of_display_property): xassert that |