Home GnuPG
Diffusion nPth a5d8a7fb56ca

Provide a replacement for socklen_t.
a5d8a7fb56caUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Provide a replacement for socklen_t.

* m4/socklen.m4, m4/sys_socket_h.m4: New.
* configure.ac (INSERT_SOCKLEN_T): New.
* src/npth.h.in (INSERT_SOCKLEN_T): New substitution.
(npth_connect, npth_accept): Use _npth_socklen_t.

For example SGI IRIX 6.5 MIPS R10000 does not provide socklen_t. We
provide the usual fallback to int as figured out by a gnulib test.
Note that _npth_socklen_t is internal to nPth and shall not be used by
applications.

Details

Provenance
wernerAuthored on May 9 2012, 3:01 PM
Parents
rPTH9596d679b14e: Do not use ___FUNCTION__.
Branches
Unknown
Tags
Unknown