[Pidgin] #11431: Signals no longer work in Perl plugins

Pidgin trac at pidgin.im
Thu Mar 4 16:34:37 EST 2010


#11431: Signals no longer work in Perl plugins
----------------------+-----------------------------------------------------
 Reporter:  dharding  |        Owner:  MarkDoliner
     Type:  defect    |       Status:  closed     
Milestone:  2.7.0     |    Component:  plugins    
  Version:  2.6.6     |   Resolution:  fixed      
 Keywords:  perl      |  
----------------------+-----------------------------------------------------
Changes (by markdoliner at pidgin.im):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [3762c9332c14ac3b681bae2c99c49773c2e46e8a]):[[BR]]
 Add a cast to silence this warning.
 perl-handlers.c: In function ‘perl_signal_cb’:
 perl-handlers.c:306: warning: passing argument 2 of
 ‘purple_perl_sv_from_vargs’ from incompatible pointer type
 perl-common.h:69: note: expected ‘struct __va_list_tag (*)[1]’ but
 argument is of type ‘struct __va_list_tag *’

 This may not be the most elegant solution, but va_args aren't really
 elegant,
 and this solution is at least easy.

 Thanks very much to the expert bug reporting and research done by
 dharding!

 Fixes #11431 (that ticket has a lot of information about this change)

-- 
Ticket URL: <http://developer.pidgin.im/ticket/11431#comment:12>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list