~ubuntu-branches/ubuntu/saucy/libfile-spec-perl/saucy-proposed

« back to all changes in this revision

Viewing changes to lib/File/Spec/Epoc.pm

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov, Martín Ferrari, gregor herrmann
  • Date: 2008-01-17 23:14:23 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080117231423-ze9qr14qplbauhsy
Tags: 3.2700-1
[ Martín Ferrari ]
* New upstream release.
* debian/watch: added version mangle to cope with 2 and 4-digit long
  versions.
* debian/copyright: they have changed the copyright holder for the files
  grabbed from BSD, but the notice on the documentation remained. So I have
  put the two copyright holders (curse upstream).

[ gregor herrmann ]
* Add ${shlibs:Depends} to debian/control and dh_shlibdeps to debian/rules
  to fix a policy violation.
* New upstream release.
* debian/copyright: update years of copyright for ppport.h.
* debian/rules: install upstream changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
use strict;
4
4
use vars qw($VERSION @ISA);
5
5
 
6
 
$VERSION = '3.2501';
 
6
$VERSION = '3.27';
7
7
 
8
8
require File::Spec::Unix;
9
9
@ISA = qw(File::Spec::Unix);
45
45
 
46
46
sub canonpath {
47
47
    my ($self,$path) = @_;
 
48
    return unless defined $path;
48
49
 
49
50
    $path =~ s|/+|/|g;                             # xx////xx  -> xx/xx
50
51
    $path =~ s|(/\.)+/|/|g;                        # xx/././xx -> xx/xx