[Sugar-devel] Terminal.xo patch: do not die if the cwd is gone

Sayamindu Dasgupta sayamindu at gmail.com
Sun Nov 8 15:14:01 EST 2009


Thanks for the patch. New version released (with a backport of
Martin's patch as well) and should show up in ASLO soon. It is version
30, since no vacant version was left in between :-(
-sdg-


On Tue, Nov 3, 2009 at 9:34 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> Attached is a trivial patch that handles gracefully the situation
> where cwd does not exist anymore or is no longer accessible to the
> olpc user.
>
> Without it,
>  - mount a usb disk
>  - open Terminal.xo, change directory to /media/my-usb-disk/
>  - close Terminal.xo
>  - unmount / remove usb disk
>  - try to open Terminal.xo => fails to start
>
> cheers,
>
>
>
> m
> --
>  martin.langhoff at gmail.com
>  martin at laptop.org -- School Server Architect
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
>



-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]


More information about the Sugar-devel mailing list