Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk tap_rtp.c

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: Thu, 6 Mar 2003 17:09:10 -0600 (CST)
guy         2003/03/06 17:09:09 CST

  Modified files:
    gtk                  tap_rtp.c 
  Log:
  Get rid of CRs.
  
  Get rid of comments about the format string to use with guint16 and
  guint32 - we're using the right string, which is neither "%lu" (as that
  requires a 64-bit argument on platforms with 64-bit longs) nor "%d" (as
  that expects a *signed* quantity, not an *unsigned* quantity), but "%u".
  
  Protect the include of <unistd.h> with "#ifdef HAVE_UNISTD_H", as it's
  not present on Windows if you're not building with a UNIXalike wrapper
  library.
  
  Use "wb", not "w", when creating binary files with "fopen()"; the "b" is
  required on Windows.
  
  Use O_BINARY when opening binary files, and #define it as 0 if it's not
  defined; O_BINARY is required on Windows.
  
  Revision  Changes    Path
  1.3       +1999 -1999ethereal/gtk/tap_rtp.c