dup2: minor simplifications
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Sep 2011 05:49:14 +0000 (22:49 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Sep 2011 05:49:14 +0000 (22:49 -0700)
commit936cef69b1e34a2f654de30577cce8bf6db461b5
treed257f8ae9f50a14fe5e5d4a1493f9668d16ada29
parent90520caf3cfe735b83237a11034b7aa0c3bb05b9
dup2: minor simplifications

* lib/dup2.c (ms_windows_dup2): Omit 'inline' as it's not clear
that it's a performance win.
(rpl_dup2): Change "if !((defined _WIN32 || defined __WIN32__) &&
! defined __CYGWIN__)" to "ifdef F_GETFL".
ChangeLog
lib/dup2.c