diff options
author | Robert Pluim <rpluim@gmail.com> | 2022-07-25 12:17:07 +0200 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2022-07-26 14:16:07 +0200 |
commit | fc1b7b720b5771a330f36e9a52688d73b790e478 (patch) | |
tree | e76b4285a5ad8dc7ed744cd4280ef90fb8b1c622 /lisp/misc.el | |
parent | dfa16cadc18930fad76fa6113750eaa27d367e72 (diff) | |
download | emacs-fc1b7b720b5771a330f36e9a52688d73b790e478.tar.gz emacs-fc1b7b720b5771a330f36e9a52688d73b790e478.tar.bz2 emacs-fc1b7b720b5771a330f36e9a52688d73b790e478.zip |
Teach 'network-lookup-address-info' to validate numeric addresses
* src/process.c (Fnetwork_lookup_address_info): Add optional 'hints'
argument, pass AI_NUMERICHOST to 'getaddrinfo' if it's 'numeric'.
(syms_of_process): Add 'numeric' symbol.
* doc/lispref/processes.texi (Misc Network): Expunge passive voice.
Update 'network-lookup-address-info' description.
* test/src/process-tests.el (lookup-hints-specification):
(lookup-hints-values): Test new functionality.
* etc/NEWS: Announce change.
Diffstat (limited to 'lisp/misc.el')
0 files changed, 0 insertions, 0 deletions