Correcting my patching mistake, here is the same patch in unified format:
Index: src/main/org/apache/tools/ant/taskdefs/Chmod.java =================================================================== RCS file: /home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Chmod.java,v retrieving revision 1.8 diff -u -r1.8 Chmod.java --- src/main/org/apache/tools/ant/taskdefs/Chmod.java 2000/09/07 09:50:54 1.8 +++ src/main/org/apache/tools/ant/taskdefs/Chmod.java 2000/10/17 11:49:14 @@ -169,7 +169,7 @@ protected boolean isValidOs() { // XXX if OS=unix return System.getProperty("path.separator").equals(":") && - !System.getProperty("os.name").startsWith("Mac") && + !(System.getProperty("os.name").startsWith("Mac") && !System.getProperty("os.name").endsWith("X")) && super.isValidOs(); } } On Tuesday, October 17, 2000, at 12:11 PM, Stuart Roebuck wrote: > Building Apache-James I've just noticed that the OS check on Chmod doesn't > identify MacOS > X as a valid Unix. Here's a patch: > ------------------------------------------------------------------------- Stuart Roebuck, BSc, MBA Tel.: 0131 228 4853 / Fax.: 0870 054 8322 Managing Director Alpha Numeric Pager: 07654 588898 ADOLOS http://www.adolos.com/