Bug 219002
Summary: | Gobby won't open files because it corrupts the pathname | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ian Laurie <nixuser> |
Component: | gobby | Assignee: | Luke Macken <lmacken> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | CC: | extras-qa, pfrields |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-01-09 01:44:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ian Laurie
2006-12-09 00:40:49 UTC
I wrote the following patch, added it to the devel branch, and tagged and built gobby-0.4.1-2.fc7. --- src/main.cpp.orig 2007-01-08 14:23:17.000000000 -0500 +++ src/main.cpp 2007-01-08 14:25:29.000000000 -0500 @@ -185,10 +185,17 @@ { // Make absolute filenames to understand the files // from everywhere when we send them to another process - files[i - 1] = Glib::build_filename( - Glib::get_current_dir(), - argv[i] - ); + if(Glib::path_is_absolute(argv[i])) + { + files[i - 1] = argv[i]; + } + else + { + files[i - 1] = Glib::build_filename( + Glib::get_current_dir(), + argv[i] + ); + } } Gobby::IconManager icon_mgr; I opened the following ticket upstream to try and get this patch applied: http://darcs.0x539.de/trac/obby/cgi-bin/trac.cgi/ticket/239 I applied this patch to FC-6 branch and kicked off a build. This issue was already fixed upstream (with a patch that's essentially the same as above). |