[Geany-devel] altername session management implementation

Dimitar Zhekov dimitar.zhekov at xxxxx
Mon Jul 5 17:20:42 UTC 2010


On Sun, 4 Jul 2010 17:24:49 +0400
Eugene Arshinov <earshinov at gmail.com> wrote:

> No, we need to look for absolute path if and only if Geany is run using
> relative path.

Why not, really.

> Getting absolute path from relative to current directory is ~5 lines without any hacks.

Even less - tm_get_real_path() is our friend here, it both expands the
path and checks if it exists.

Updated version attached.

-- 
E-gards: Jimmy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sm1-5089.diff
Type: text/x-diff
Size: 40294 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100705/3621b394/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES
Type: application/octet-stream
Size: 6288 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100705/3621b394/attachment.obj>


More information about the Devel mailing list