diff options
author | Bruno Haible <bruno@clisp.org> | 2011-09-23 20:55:00 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-09-23 20:55:00 +0200 |
commit | feb7da5e51db75738e91cce135c1906f7dc10948 (patch) | |
tree | 9de740f4f714829d6ae7fba33a570870ed9e1a9f /modules/recvfrom | |
parent | 27ba0d3030c9932731e6b55549733ae0090a1b62 (diff) | |
download | gnulib-feb7da5e51db75738e91cce135c1906f7dc10948.tar.gz |
dup2: Make code more maintainable.
* lib/dup2.c (dup2_nothrow): New function, extracted from rpl_dup2.
(rpl_dup2): Use it.
* m4/dup2.m4 (gl_PREREQ_DUP2): New macro.
* modules/dup2 (configure.ac): Invoke it.
Reported by Paul Eggert.
Diffstat (limited to 'modules/recvfrom')
0 files changed, 0 insertions, 0 deletions