ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 392] Changed - copy task does a s/\r/\n/ when filtering is on BugRat Report#686
Date Thu, 01 Feb 2001 15:21:55 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=392

*** shadow/392	Thu Feb  1 04:05:24 2001
--- shadow/392.tmp.9764	Thu Feb  1 07:21:55 2001
***************
*** 2,8 ****
  | copy task does a s/\r/\n/ when filtering is on BugRat Report#686           |
  +----------------------------------------------------------------------------+
  |        Bug #: 392                         Product: Ant                     |
! |       Status: UNCONFIRMED                 Version: 1.2                     |
  |   Resolution:                            Platform: All                     |
  |     Severity: Normal                   OS/Version: All                     |
  |     Priority: High                      Component: Core tasks              |
--- 2,8 ----
  | copy task does a s/\r/\n/ when filtering is on BugRat Report#686           |
  +----------------------------------------------------------------------------+
  |        Bug #: 392                         Product: Ant                     |
! |       Status: NEW                         Version: 1.2                     |
  |   Resolution:                            Platform: All                     |
  |     Severity: Normal                   OS/Version: All                     |
  |     Priority: High                      Component: Core tasks              |
***************
*** 21,24 ****
  appended at end of file if none present, and so on...)
  
  fixCRLF does'nt help if the file to be copied is a
! binary file.
--- 21,31 ----
  appended at end of file if none present, and so on...)
  
  fixCRLF does'nt help if the file to be copied is a
! binary file.
! 
! ------- Additional Comments From glennm@apache.org  2001-02-01 07:21 -------
! The problem boils down to the assumption that when you are copying files
! with the filter on, the file is text, not binary.  The straight copy 
! operation does a byte for byte copy using streams.  The filter copy uses
! buffered readers and writers, reading and writing individual lines, appending
! the current platform's newline as it goes.

Mime
View raw message