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: Eric Blake
Subject: [bug #27983] Windows text mode mis-interpreted
Date: Fri, 09 Apr 2010 16:57:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.5.9-1.fc12 Firefox/3.5.9

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

In the POSIX world, fopen() with 'b' has no effect, but with 't' has
undefined behavior ('t' happens to be a cygwin extension, and you have no
business trying to use it in an application trying to be portable to POSIX).

I still argue that the problem is not in findutils, but in your (mis)use of
cygwin text mounts.  Cygwin recommends using binary mounts, not text mounts,
for a reason - because apps written for POSIX expect POSIX behavior.  And when
you violate that assumption, the burden is on you, not on the apps.  If r
through pipes is a problem, then add d2u into the pipeline - that way, you
have a single tool and a paradigm that can fix the issue for every situation,
rather than having to patch every downstream tool to understand a new
paradigm.

So findutils' testsuite won't pass on a cygwin text mount.  I don't care, as
long as it continues to pass on a cygwin binary mount.


    _______________________________________________________

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]