delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/15/11:28:51

X-Recipient: archive-cygwin AT delorie DOT 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 AT cs DOT umass DOT 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 AT cygwin DOT com>
Subject: Suggested patch for cygwin perl 5.10
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cs DOT umass DOT 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019