ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java
Date Tue, 03 Feb 2004 19:24:56 GMT
peterreilly    2004/02/03 11:24:56

  Modified:    src/main/org/apache/tools/ant/util Tag: ANT_16_BRANCH
                        FileUtils.java
  Log:
  Sync with head
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.56.2.3  +3 -3      ant/src/main/org/apache/tools/ant/util/FileUtils.java
  
  Index: FileUtils.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/FileUtils.java,v
  retrieving revision 1.56.2.2
  retrieving revision 1.56.2.3
  diff -u -r1.56.2.2 -r1.56.2.3
  --- FileUtils.java	20 Nov 2003 13:34:12 -0000	1.56.2.2
  +++ FileUtils.java	3 Feb 2004 19:24:56 -0000	1.56.2.3
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
  + * Copyright (c) 2001-2004 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -1299,7 +1299,7 @@
           CharacterIterator iter = new StringCharacterIterator(path);
           for (char c = iter.first(); c != CharacterIterator.DONE;
                c = iter.next()) {
  -            if (isSpecial[c]) {
  +            if (c < 256 && isSpecial[c]) {
                   sb.append('%');
                   sb.append(escapedChar1[c]);
                   sb.append(escapedChar2[c]);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message