[Pidgin] #3550: PurpleLog::time is wrong

Pidgin trac at pidgin.im
Sun Oct 14 16:33:15 EDT 2007


#3550: PurpleLog::time is wrong
---------------------------+------------------------------------------------
  Reporter:  xpertbg       |       Owner:       
      Type:  defect        |      Status:  new  
  Priority:  minor         |   Milestone:       
 Component:  pidgin (gtk)  |     Version:  2.2.1
Resolution:                |    Keywords:       
   Pending:  1             |  
---------------------------+------------------------------------------------
Changes (by rlaager):

  * pending:  0 => 1

Comment:

 Try this test program, which is based off your examples. What output do
 you get? I get the correct time printed exactly the same way three times.
 {{{
 #include <time.h>
 #include <stdio.h>

 int main()
 {
         time_t now;
         time(&now);
         struct tm *bdt = localtime(&now);
         printf("%s\n", asctime(bdt));
         printf("%s\n", asctime(bdt));
         printf("%s\n", asctime(bdt));
 }
 }}}

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


More information about the Tracker mailing list