Follow-up Comment #7, bug #27983 (project findutils):

xargs may receive input not just from a text-mode-mounted file but also from
a Windows native application.  So I thought that being liberal on input was
good and gave the "t" hint to Cygwin DLL in my added freopen().

In the case of "-d X" or "-0" options xargs expects raw input stream so I
gave the "force the binary mode" hint to Cygwin DLL in another call to
freopen().

I agree these hints contradict the POSIX environment.  But the very notion of
CR/NL line endings may also be against POSIX as well.  It appears Cygwin was
supposed to make this difference less visible, but I see that some may regard
Cygwin as a platform for Cygwin-aware programs only.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27983>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to