Mercurial > pidgin
annotate src/protocols/silc/Makefile.am @ 13905:4e44ecb866bd
[gaim-migrate @ 16394]
msn_session_sync_users() iterates over the buddy list, following the ->next pointers of the groups, contacts, and buddies. msn_show_sync_issue(), if called, removed the buddy for which it was called, in preparation for the buddy either being added to the server list or confirmed-to-be-removed. This could lead to the buddy pointer being released and ->next therefore being junk.
The buddy is now not removed until the user responds to the action dialog presented via msn_show_sync_issue(). I'm unclear why gtkgaim got away with this exercise in memory stomping but Adium/libgaim crashed every time, but it's safer in any case.
I also changed some foo->bar to gaim_foo_get_bar().
committer: Tailor Script <tailor@pidgin.im>
| author | Evan Schoenberg <evan.s@dreskin.net> |
|---|---|
| date | Sun, 02 Jul 2006 09:37:25 +0000 |
| parents | 7bef0fa7d4aa |
| children |
| rev | line source |
|---|---|
| 9353 | 1 EXTRA_DIST = README TODO Makefile.mingw |
| 8849 | 2 |
| 3 pkgdir = $(libdir)/gaim | |
| 4 | |
| 12059 | 5 SILCSOURCES = silc.c silcgaim.h buddy.c chat.c ft.c ops.c pk.c util.c wb.c wb.h |
| 8849 | 6 |
| 7 AM_CFLAGS = $(st) | |
| 8 | |
| 10889 | 9 libsilcgaim_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
| 8849 | 10 |
| 8857 | 11 if STATIC_SILC |
| 8849 | 12 |
| 9905 | 13 st = -DGAIM_STATIC_PRPL $(SILC_CFLAGS) |
| 9061 | 14 noinst_LIBRARIES = libsilcgaim.a |
| 8849 | 15 pkg_LTLIBRARIES = |
| 16 | |
| 9061 | 17 libsilcgaim_a_SOURCES = $(SILCSOURCES) |
| 18 libsilcgaim_a_CFLAGS = $(AM_CFLAGS) | |
| 19 libsilcgaim_a_LIBADD = $(SILC_LIBS) | |
| 8849 | 20 |
| 21 else | |
| 22 | |
| 9905 | 23 st = $(SILC_CFLAGS) |
| 9061 | 24 pkg_LTLIBRARIES = libsilcgaim.la |
| 8849 | 25 noinst_LIBRARIES = |
| 26 | |
| 9061 | 27 libsilcgaim_la_SOURCES = $(SILCSOURCES) |
| 28 libsilcgaim_la_LIBADD = $(SILC_LIBS) | |
| 8849 | 29 |
| 30 endif | |
| 31 | |
| 32 AM_CPPFLAGS = \ | |
| 33 -I$(top_srcdir)/src \ | |
| 34 $(GLIB_CFLAGS) \ | |
| 35 $(DEBUG_CFLAGS) |
