felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4969) cd refuses to leave initial directory
Date Fri, 21 Aug 2015 23:13:45 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Jencks resolved FELIX-4969.
---------------------------------
       Resolution: Fixed
    Fix Version/s: gogo.command-0.16.0

I applied the patch from github and committed in r1697070.  I couldn't figure out how to use
git to merge, perhaps because the felix tree has changed so much recently.  I think you will
need to close the github pull request.

> cd refuses to leave initial directory 
> --------------------------------------
>
>                 Key: FELIX-4969
>                 URL: https://issues.apache.org/jira/browse/FELIX-4969
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Command
>    Affects Versions: gogo.command-0.12.0
>            Reporter: Benson Margulies
>            Assignee: David Jencks
>             Fix For: gogo.command-0.16.0
>
>
> Actually observed in gogo command 0.14.0.
> The implementation of the cd command in Files.java won't permit an absolute pathname
with ordinary syntax.  If I type extra slashes, it stops complaining -- but it also doesn't
change the directory.
> {noformat}
> basis-osgi> cd /tmp
> gogo: IOException: Directory does not exist
> basis-osgi>
> basis-osgi> cd //tmp
> Name                 gogo
> Parent               /Users/benson/x/rosette-osgi
> CanonicalPath        /Users/benson/x/rosette-osgi/gogo
> Path                 /Users/benson/x/rosette-osgi/gogo
> ParentFile           /Users/benson/x/rosette-osgi
> AbsolutePath         /Users/benson/x/rosette-osgi/gogo
> AbsoluteFile         /Users/benson/x/rosette-osgi/gogo
> CanonicalFile        /Users/benson/x/rosette-osgi/gogo
> TotalSpace           999334871040
> FreeSpace            247179890688
> UsableSpace          246917746688
> {noformat}
> It's also awfully noisy.
> A patch will be forthcoming to the refusal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message