libical r643 - branches/gnome-2-22 branches/gnome-2-22/src/libical	trunk trunk/src/libical
- From: pohly svn gnome org
- To: svn-commits-list gnome org
- Subject: libical r643 - branches/gnome-2-22 branches/gnome-2-22/src/libical	trunk trunk/src/libical
- Date: Tue,  6 May 2008 21:10:30 +0100 (BST)
Author: pohly
Date: Tue May  6 20:10:30 2008
New Revision: 643
URL: http://svn.gnome.org/viewvc/libical?rev=643&view=rev
Log:
extension to #518744: mark libical versions which have the fix
by adding a global variable "ical_memfixes". Programs can check
for the existance of this variable to detect the new memory
ownership semantic.
-This line, and those below, will be ignored--
M    trunk/ChangeLog
M    trunk/src/libical/icalmemory.c
M    branches/gnome-2-22/ChangeLog
M    branches/gnome-2-22/src/libical/icalmemory.c
Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/libical/icalmemory.c
   trunk/ChangeLog
   trunk/src/libical/icalmemory.c
Modified: branches/gnome-2-22/src/libical/icalmemory.c
==============================================================================
--- branches/gnome-2-22/src/libical/icalmemory.c	(original)
+++ branches/gnome-2-22/src/libical/icalmemory.c	Tue May  6 20:10:30 2008
@@ -72,6 +72,12 @@
 #define BUFFER_RING_SIZE 2 
 #define MIN_BUFFER_SIZE 200
 
+/**
+ * http://bugzilla.gnome.org/show_bug.cgi?id=516408:
+ * clients can check via dlsym(RTLD_NEXT, "ical_memfixes")
+ * whether they have to free memory
+ */
+int ical_memfixes;
 
 /* HACK. Not threadsafe */
 
Modified: trunk/src/libical/icalmemory.c
==============================================================================
--- trunk/src/libical/icalmemory.c	(original)
+++ trunk/src/libical/icalmemory.c	Tue May  6 20:10:30 2008
@@ -72,6 +72,12 @@
 #define BUFFER_RING_SIZE 2 
 #define MIN_BUFFER_SIZE 200
 
+/**
+ * http://bugzilla.gnome.org/show_bug.cgi?id=516408:
+ * clients can check via dlsym(RTLD_NEXT, "ical_memfixes")
+ * whether they have to free memory
+ */
+int ical_memfixes;
 
 /* HACK. Not threadsafe */
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]