bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #27983] Windows text mode mis-interpreted


From: Ilguiz Latypov
Subject: [bug #27983] Windows text mode mis-interpreted
Date: Fri, 09 Apr 2010 23:47:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10pre) Gecko/20100408 Shiretoko/3.5.10pre

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

[Prev in Thread] Current Thread [Next in Thread]