]> Savannah Git Hosting - gnulib.git/commit
Replace dup2() on Android
authorKevin Cernekee <cernekee@google.com>
Mon, 23 Feb 2015 17:38:14 +0000 (09:38 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Feb 2015 18:37:06 +0000 (10:37 -0800)
commit2f1a88d40779d4149a9655723063c0ccc551cfcc
tree0e0d00a503acf3dad91476e98a584fc5ffe4bd09
parentcc0a1a96a5243da277be383995a8b0c109dcaac2
Replace dup2() on Android

* m4/dup2.m4 (gl_FUNC_DUP2): Android implements dup2() using dup3().
Since dup3(fd, fd) fails but dup2(fd, fd) should pass, test-dup2
fails.  Using rpl_dup2() fixes this because it has an explicit test
for this condition.
ChangeLog
m4/dup2.m4