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

Wade Brainerd wadetb at gmail.com
Tue Nov 3 12:02:27 EST 2009


Thanks!  This is SL bug #1483 - I was planning to fix it in my next
round of Terminal updates.

BTW you can work around this issue by opening a new tab.

On Tue, Nov 3, 2009 at 11:04 AM, 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
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


More information about the Sugar-devel mailing list