Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 607092 Details for
Bug 851900
xfburn crashes if a directory is created
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to correct the bug
xfburn-0.4.3-newdirectorybug.patch (text/plain), 1.58 KB, created by
Ronan Arraes Jardim Chagas
on 2012-08-27 02:06:00 UTC
(
hide
)
Description:
Patch to correct the bug
Filename:
MIME Type:
Creator:
Ronan Arraes Jardim Chagas
Created:
2012-08-27 02:06:00 UTC
Size:
1.58 KB
patch
obsolete
>--- xfburn-0.4.3/xfburn/xfburn-data-composition.c 2011-02-17 16:37:03.000000000 +0100 >+++ xfburn-0.4.3/xfburn/xfburn-data-composition_patched.c 2011-02-17 16:40:40.000000000 +0100 >@@ -1874,26 +1874,29 @@ > g_error ("Failed adding %s as a node to the image: code %X!", src, r); > } > >- basename = g_path_get_basename (src); >+ /* Check names only for items not manually created (#613563) */ >+ if (type != DATA_COMPOSITION_TYPE_DIRECTORY || src != NULL) { >+ basename = g_path_get_basename (src); >+ >+ /* check if the file has been renamed */ >+ if (strcmp (basename, name) != 0) { >+ /* rename the iso_node */ >+ r = iso_node_set_name (node, name); >+ >+ if (r == 0) { >+ /* The first string is the renamed name, the second one the original name */ >+ xfce_warn (_("Duplicate filename '%s' for '%s'"), name, src); >+ >+ g_free (basename); >+ g_free (name); >+ g_free (src); > >- /* check if the file has been renamed */ >- if (strcmp (basename, name) != 0) { >- /* rename the iso_node */ >- r = iso_node_set_name (node, name); >- >- if (r == 0) { >- /* The first string is the renamed name, the second one the original name */ >- xfce_warn (_("Duplicate filename '%s' for '%s'"), name, src); >- >- g_free (basename); >- g_free (name); >- g_free (src); >- >- continue; >+ continue; >+ } > } >+ g_free (basename); > } > >- g_free (basename); > g_free (name); > g_free (src); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 851900
: 607092