Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan to_str.c to_str.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Feb 2003 13:42:39 -0600 (CST)
guy         2003/02/11 13:42:39 CST

  Modified files:
    epan                 to_str.c to_str.h 
  Log:
  Add a "abs_time_secs_to_str()" routine that takes a UNIX time-since-the-
  epoch-in-seconds value and converts it to a string.
  
  Use that routine in the RADIUS dissector, rather than using "ctime()"
  and "tzname[]" - "tzname[]" strings might contain non-ASCII characters,
  which currently give the GTK+ 1.3[.x] used on Windows, and also, I
  think, GTK+ 2.x, heartburn, as they expect UTF-8, not, for example, ISO
  8859/1.
  
  Fix the string length in "abs_time_to_str()".
  
  Revision  Changes    Path
  1.24      +39 -11    ethereal/epan/to_str.c
  1.13      +2 -1      ethereal/epan/to_str.h