Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 23621 Details for
Bug 37918
Cycling is a training management programme
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix a segfault issue
patch-cycling-0.3.1-06012004 (text/plain), 1.41 KB, created by
Robert Moss (RETIRED)
on 2004-01-11 16:37:32 UTC
(
hide
)
Description:
Patch to fix a segfault issue
Filename:
MIME Type:
Creator:
Robert Moss (RETIRED)
Created:
2004-01-11 16:37:32 UTC
Size:
1.41 KB
patch
obsolete
>diff -urp cycling-0.3.1/src/sorties.c cycling-0.3.1-patched/src/sorties.c >--- cycling-0.3.1/src/sorties.c 2004-01-03 14:15:25.000000000 +0100 >+++ cycling-0.3.1-patched/src/sorties.c 2004-01-06 23:19:18.000000000 +0100 >@@ -298,7 +298,7 @@ parse_sortie_file (gchar *sorties_file) > } > > gboolean >-add_new_sortie_to_file (CyclingSortie *sortie, gchar *file) >+add_new_sortie_to_file (const CyclingSortie *sortie, gchar *file) > { > xmlDocPtr doc = NULL; > xmlNodePtr node = NULL; >@@ -365,7 +365,6 @@ add_new_sortie_to_file (CyclingSortie *s > xmlKeepBlanksDefault (0); > xmlSaveFormatFile (file, doc, 1); > xmlFreeDoc (doc); >- cycling_sortie_free (sortie); > return TRUE; > } > xmlCleanupParser (); >diff -urp cycling-0.3.1/src/sorties.h cycling-0.3.1-patched/src/sorties.h >--- cycling-0.3.1/src/sorties.h 2004-01-03 15:04:18.000000000 +0100 >+++ cycling-0.3.1-patched/src/sorties.h 2004-01-06 23:19:32.000000000 +0100 >@@ -63,7 +63,7 @@ > gboolean create_new_sortie_file (gchar *file); > xmlDocPtr parse_sortie_file (gchar *sorties_file); > gboolean edit_sortie_in_file (const CyclingSortie *sortie, gulong sortie_number); >- gboolean add_new_sortie_to_file (CyclingSortie *sortie, gchar *file); >+ gboolean add_new_sortie_to_file (const CyclingSortie *sortie, gchar *file); > CyclingSortie * read_sortie_infos_from_file (gulong sortie_number); > CyclingSortie * read_sortie_from_file (xmlDocPtr doc, xmlNodePtr cur); >
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 37918
:
23620
|
23621
|
23622
|
25036
|
26678
|
37049
|
37050
|
53113