[Pkg-haskell-maintainers] Bug#599675: absNormPath "/" "/.." does not remove all dotdots

Joey Hess joeyh at debian.org
Sun Oct 10 01:14:18 UTC 2010


Package: missingh
Version: 1.1.0.3-3
Severity: normal

Prelude System.Path> absNormPath "/" "/.."
Just "/.."
Prelude System.Path> absNormPath "/" "/../../"
Just "/"
Prelude System.Path> absNormPath "/" "/../.."
Just "/"
Prelude System.Path> absNormPath "/" "/../../../"
Nothing

I'd expect to get Nothing or "/" for all of these. The documentation
says that it removes all dotdot entries.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20101009/207bd3bd/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list