From: Boulkroune, O. (Non-HP:A. Origin) <oli...@hp...> - 2007-11-06 15:26:08
|
Peter, Do you have examples of platforms where this change could prevent sipp to c= ompile ? I met again this "Content-length: zu" problem on my HP_UX platform= (which I currently use for other investigationss) and remembered that I co= mmitted this fis into the 2.0 branch, but not into the trunk. Olivier Boulkroune ________________________________ De : Peter Higginson [mailto:Pet...@ne...] Envoy=E9 : mardi 6 novembre 2007 15:59 =C0 : obo...@us...; sip...@li... Objet : RE: [Sipp-commits] SF.net SVN: sipp: [335] sipp/trunk Olivier, My memory is that this is one of those changes that yo-yo in and out. Basic= ally older compilers do not understand "z" and more modern ones require it.= ("z" tells the modern compiler to expect an integer of type size_t as a re= sult of pointer arithmetic.) Peter Peter Higginson Newport Networks Ltd, Direct line 01494 470694 http://www.newport-networks.com/ -----Original Message----- From: sip...@li... [mailto:sipp-commits-bounc= es...@li...] On Behalf Of obo...@us... Sent: 06 November 2007 10:18 To: sip...@li... Subject: [Sipp-commits] SF.net SVN: sipp: [335] sipp/trunk Revision: 335 http://sipp.svn.sourceforge.net/sipp/?rev=3D335&view=3Drev Author: oboulkroune Date: 2007-11-06 02:18:07 -0800 (Tue, 06 Nov 2007) Log Message: ----------- Fix: report fix from rev 236 into the trunk Revision Links: -------------- http://sipp.svn.sourceforge.net/sipp/?rev=3D236&view=3Drev Modified Paths: -------------- sipp/trunk/call.cpp sipp/trunk/sipp.hpp Modified: sipp/trunk/call.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sipp/trunk/call.cpp 2007-11-05 10:26:04 UTC (rev 334) +++ sipp/trunk/call.cpp 2007-11-06 10:18:07 UTC (rev 335) @@ -2239,7 +2239,7 @@ if (body && dest - body > 4 && dest - body < 100004) { char tmp =3D length_marker[5]; - sprintf(length_marker, "%5zu", dest - body - 4 + len_offset); + sprintf(length_marker, "%5u", dest - body - 4 + len_offset); length_marker[5] =3D tmp; } else { // Other cases: Content-Length is 0 Modified: sipp/trunk/sipp.hpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sipp/trunk/sipp.hpp 2007-11-05 10:26:04 UTC (rev 334) +++ sipp/trunk/sipp.hpp 2007-11-06 10:18:07 UTC (rev 335) @@ -93,7 +93,7 @@ /************************** Constants **************************/ -#define SIPP_VERSION 20071105 +#define SIPP_VERSION 20071106 #define T_UDP 0 #define T_TCP 1 #define T_TLS 2 This was sent by the SourceForge.net collaborative development platform, th= e world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Sipp-commits mailing list Sip...@li... https://lists.sourceforge.net/lists/listinfo/sipp-commits ________________________________ ---------------------------------------------------------------------------= ------------------ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in erro= r) please notify the sender immediately and delete this e-mail. Any unauthorized copy= ing, disclosure or distribution of the contents in this e-mail is strictly forbi= dden. ---------------------------------------------------------------------------= ------------------ Newport Networks Limited is registered in England. Registration number 4067= 591. Registered office: 6 St. Andrew Street, London EC4A 3LX ---------------------------------------------------------------------------= ------------------ |