~ubuntu-branches/ubuntu/trusty/bluefish/trusty

« back to all changes in this revision

Viewing changes to .pc/bz679203_fix_segfault.patch/src/file_dialogs.c

  • Committer: Package Import Robot
  • Author(s): Daniel Leidert
  • Date: 2012-09-10 00:15:13 UTC
  • Revision ID: package-import@ubuntu.com-20120910001513-9tieb2oxkdw1spg9
Tags: 2.2.3-4
* debian/patches/fix_segfault_blocksync.patch: Added.
  - Fix a segmentation fault in the block synchronization feature.
* debian/patches/fix_segfault_scanner.patch: Added.
  - Fix segmentation faults in the language scanner feature.
* debian/patches/series: Added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
709
709
                        author_tmp = g_strconcat("<meta name=\"author\" content=\"", realname, "\" ", NULL);
710
710
                        snr3_run_extern_replace(doc,
711
711
                                                                        "<meta[ \t\n]+name[ \t\n]*=[ \t\n]*\"author\"[ \t\n]+content[ \t\n]*=[ \t\n]*\"[^\"]*\"[ \t\n]*",
712
 
                                                                        snr3scope_doc, snr3type_pcre, FALSE, author_tmp, FALSE);
 
712
                                                                        snr3scope_doc, snr3type_pcre, FALSE, author_tmp, FALSE, FALSE);
713
713
                        g_free(author_tmp);
714
714
                }
715
715
        }
743
743
                date_tmp = g_strconcat("<meta name=\"date\" content=\"", isotime, "\" ", NULL);
744
744
                snr3_run_extern_replace(doc,
745
745
                                                                "<meta[ \t\n]+name[ \t\n]*=[ \t\n]*\"date\"[ \t\n]+content[ \t\n]*=[ \t\n]*\"[^\"]*\"[ \t\n]*",
746
 
                                                                snr3scope_doc, snr3type_pcre, FALSE, date_tmp, FALSE);
 
746
                                                                snr3scope_doc, snr3type_pcre, FALSE, date_tmp, FALSE, FALSE);
747
747
                g_free(date_tmp);
748
748
        }
749
749
 
752
752
                snr3_run_extern_replace(doc,
753
753
                                                                "<meta[ \t\n]+name[ \t\n]*=[ \t\n]*\"generator\"[ \t\n]+content[ \t\n]*=[ \t\n]*\"[^\"]*\"[ \t\n]*",
754
754
                                                                snr3scope_doc, snr3type_pcre, FALSE,
755
 
                                                                "<meta name=\"generator\" content=\"Bluefish " VERSION "\" ", FALSE);
 
755
                                                                "<meta name=\"generator\" content=\"Bluefish " VERSION "\" ", FALSE, FALSE);
756
756
        }
757
757
 
758
758
        if (doc->uri)