X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 	tests=AWL,BAYES_50
X-Spam-Check-By: sourceware.org
Message-ID: <4B27B922.6070107@cs.umass.edu>
Date: Tue, 15 Dec 2009 11:28:18 -0500
From: Eliot Moss <moss@cs.umass.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
MIME-Version: 1.0
To: cygwin <cygwin@cygwin.com>
Subject: Suggested patch for cygwin perl 5.10
Content-Type: multipart/mixed;  boundary="------------040800010103050609030303"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

--------------040800010103050609030303
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Dear cygwin / perl maintainers:

When running svk, a package written in perl that runs
"on top of" svn, I have found the attached patch to be
necessary. Otherwise svk does not handle filenames
properly. The first change is the essential one. The
second one just eliminates an annoying and possibly
confusing/alarming (but I think truly harmless)
warning about setting something a second time. (The
affected lines were only recently introduced, I
believe.) This has been going on for some time, and
I finally got organized to send this in, rather than
continuing to edit the file myself after each update.

The file in question is:

/usr/lib/perl5/5.10/i686-cygwin/Cwd.pm

Best wishes -- Eliot Moss
==============================================================================
J. Eliot B. Moss, Professor               http://www.cs.umass.edu/~moss    www
Director, Arch. and Lang. Impl. Lab.      +1-413-545-4206                voice
Department of Computer Science            +1-413-695-4226                 cell
140 Governor's Drive, Room 372            +1-413-545-1249                  fax
University of Massachusetts at Amherst    moss@cs.umass.edu              email
Amherst, MA  01003-9264  USA              +1-413-545-2746 Laurie Downey  sec'y
==============================================================================

--------------040800010103050609030303
Content-Type: text/plain;
 name="Cwd.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="Cwd.patch"

*** Cwd.pm	2009-12-09 14:50:40.317703400 -0500
--- Cwd.pm.orig	2009-11-25 13:48:26.001000000 -0500
***************
*** 305,311 ****
      getcwd		=> 'cwd',
      fastgetcwd		=> 'cwd',
      fastcwd		=> 'cwd',
! #   abs_path		=> 'fast_abs_path',
      realpath		=> 'fast_abs_path',
     },
  
--- 305,311 ----
      getcwd		=> 'cwd',
      fastgetcwd		=> 'cwd',
      fastcwd		=> 'cwd',
!     abs_path		=> 'fast_abs_path',
      realpath		=> 'fast_abs_path',
     },
  
***************
*** 819,824 ****
  
  # added function alias for those of us more
  # used to the libc function.  --tchrist 27-Jan-00
! *realpath = \&abs_path unless defined &realpath;
  
  1;
--- 819,824 ----
  
  # added function alias for those of us more
  # used to the libc function.  --tchrist 27-Jan-00
! *realpath = \&abs_path;
  
  1;


--------------040800010103050609030303
Content-Type: text/plain; charset=us-ascii

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
--------------040800010103050609030303--
