curl-users
Re: Patch for DJGPP build
Date: Wed, 23 Nov 2005 08:27:05 +0100 (CET)
On Sun, 20 Nov 2005, Doug Kaufman wrote:
> Attached are the patch and the script that I used to compile 7.15.0.
> I did this using the DOS versions of the autoconfigure tools,
Thanks! Two quick questions on the contents:
1. The added 'ioctlsocket' function pointer instead of 'ioctl'. I figure you
need this done like that due to the #define ioctl() you added in
lib/setup.h? Wouldn't it be nicer and simpler if we instead made the call
in lib/transfer.c within parentheses like this:
err = (data->set.ioctl) (data, CURLIOCMD_RESTARTREAD,
data->set.ioctl_client);
And _not_ have that special struct member for DOS builds?
2. Why the effort (in configure.ac) to avoid checking for a 'pipe' function?
Does it indeed find one that isn't good?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-11-23