[Pidgin] #6375: Using libpurple's time/date formatting in perl crashes Pidgin

Pidgin trac at pidgin.im
Fri Jul 18 21:19:54 EDT 2008


#6375: Using libpurple's time/date formatting in perl crashes Pidgin
------------------------+---------------------------------------------------
  Reporter:  Fooble     |       Owner:                             
      Type:  defect     |      Status:  closed                     
  Priority:  minor      |   Milestone:                             
 Component:  libpurple  |     Version:  2.4.3                      
Resolution:  invalid    |    Keywords:  time date format perl crash
   Pending:  0          |  
------------------------+---------------------------------------------------
Changes (by datallah):

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

Comment:

 `Purple::Util::time_build()` returns a `time_t` (which is a number of the
 milliseconds since the epoch) and `Purple::Util::time_format()` expects a
 `struct tm`

 Why don't you just use the built-in perl functions for parsing and
 formatting a date?

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


More information about the Tracker mailing list