|   | 
  | 
| 
 
  | 
cURL   Mailing List   Monthly Index   Single Mail
curl-tracker mailing list Archives
 [ curl-Bugs-1766320 ] Some LONG options using va_arg with int
From: SourceForge.net <noreply_at_sourceforge.net>
 
Date: Thu, 02 Aug 2007 13:11:52 -0700 
Bugs item #1766320, was opened at 2007-08-02 18:39
 Please note that this message will contain a full copy of the comment thread,
 Initial Comment:
 This probably works fine until you hit a 64-bit platform where sizeof(long) != sizeof(int). The libcurl docs say that all the "integral" options that aren't large offsets take a long parameter, so if I pass in a long, the code really needs to read a long off the stack, not an int.
 ----------------------------------------------------------------------
 >Comment By: Daniel Stenberg (bagder)
 Message:
 Thanks! Funny how nobody has found this until now, but I guess on many
 And those are the only options I could see that did this.
 Fix committed to CVS just now. 
 ----------------------------------------------------------------------
 You can respond by visiting: 
 These mail archives are generated by hypermail.  | 
Page updated November 12, 2010.
web site info